![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Abstract Sensor class for all sensor implementations to inherit from. More...
Public Member Functions | |
abstract void | Enable (Robot.SensorData callback) |
Enable this instance and pass the reference to the Robot.SensorData callback function to be called when the sensor has new information to share. More... | |
abstract void | Disable () |
Disable this instance. More... | |
Abstract Sensor class for all sensor implementations to inherit from.
|
pure virtual |
Disable this instance.
Implemented in ParamSensor, and UltrasonicSensor.
|
pure virtual |
Enable this instance and pass the reference to the Robot.SensorData callback function to be called when the sensor has new information to share.
callback | Callback. |
Implemented in ParamSensor, and UltrasonicSensor.