Rover API Documentation
|
RoverSensor class is an abstract class to define interface between common sensors used in the rover. More...
#include <rover_sensor.hpp>
Public Member Functions | |
virtual void | initialize (void)=0 |
Virtual function (interface) for setting up sensors. More... | |
virtual float | read (void)=0 |
Virtual function (interface) for reading from sensors. More... | |
virtual | ~RoverSensor () |
Destructor for the RoverSensor class. More... | |
RoverSensor class is an abstract class to define interface between common sensors used in the rover.
|
inlinevirtual |
Destructor for the RoverSensor class.
|
pure virtual |
Virtual function (interface) for setting up sensors.
Implemented in rover::RoverHMC5883L, rover::RoverQMC5883L, rover::RoverHCSR04, rover::RoverGY521, rover::RoverGrooveUltrasonic, rover::RoverDHT22, and rover::RoverInfraredSensor.
|
pure virtual |
Virtual function (interface) for reading from sensors.
Implemented in rover::RoverHMC5883L, rover::RoverQMC5883L, rover::RoverHCSR04, rover::RoverGY521, rover::RoverGrooveUltrasonic, rover::RoverDHT22, and rover::RoverInfraredSensor.