Smartcar Shield
|
#include <HeadingSensor.hpp>
Public Member Functions | |
virtual | ~HeadingSensor ()=default |
virtual int | getHeading ()=0 |
Returns the current heading of the vehicle. More... | |
virtual void | update ()=0 |
Updates the sensor's readings. More... | |
A heading sensor is an interface that can represent all sensors which can provide the vehicle's heading.
Definition at line 8 of file HeadingSensor.hpp.
|
virtualdefault |
|
pure virtual |
Returns the current heading of the vehicle.
Example:
Implemented in GY50.
|
pure virtual |
Updates the sensor's readings.
This method must be be able to be executed as often as possible.
Example:
Implemented in GY50.