upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ connect_sensor()

void connect_sensor ( std::shared_ptr< Sensor sensor)
inline

Add a sensor at the beginning of the pipeline.

Parameters
[in]sensorSensor to append.
Note
Contrary to observers, the order in which sensors are executed is not guaranteed. If a sensor needs to run after another, consider splitting it into one sensor and one observer.