17 #ifndef ROVERAPI_ROVER_INFRAREDSENSOR_HPP_ 18 #define ROVERAPI_ROVER_INFRAREDSENSOR_HPP_ ~RoverInfraredSensor()
Destructor for the RoverInfraresSensor class.
Definition: rover_infraredsensor.cpp:40
RoverSensor class is an abstract class to define interface between common sensors used in the rover...
Definition: rover_sensor.hpp:48
RoverSensorID_t
RoverSensorID_t defines the sensor location ID of the proximity sensors on the rover.
Definition: rover_sensor.hpp:38
RoverInfraredSensor(const RoverSensorID_t sensor_id)
Constructor for the RoverInfraredSensor class.
Definition: rover_infraredsensor.cpp:23
void initialize(void)
Function to setup Analog to Digital converter used in infrared sensors. Should be called once per pro...
Definition: rover_infraredsensor.cpp:42
rover Namespace contains classes to manage Rover sensors, gpio, buzzer, buttons, driving, utilities, and cloud.
Definition: rover_api.hpp:293
float read(void)
Member function to read from infrared proximity sensor given its sensor id.
Definition: rover_infraredsensor.cpp:55
int ROVERINFRAREDSENSOR_SETUP_
Flag to hold if RoverInfraredSensor is set up.
Definition: rover_infraredsensor.hpp:38
RoverInfraredSensor is a class that is inherited from RoverSensor abstract class. RoverInfraredSensor...
Definition: rover_infraredsensor.hpp:27
RoverSensorID_t sensorID
Sensor Identification.
Definition: rover_infraredsensor.hpp:33