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

Base class for sensors. More...

#include <Sensor.h>

Public Member Functions

virtual ~Sensor ()
 Destructor is virtual to deallocate lists of observers properly.
 
virtual std::string prefix () const noexcept
 Prefix of output in the observation dictionary. More...
 
virtual void write (Dictionary &observation)
 Write output to a dictionary. More...
 

Detailed Description

Base class for sensors.

Sensors run before observers. They write their observations without reading other observations from the pipeline, although they may read data from other media (such as the file system).


The documentation for this class was generated from the following file: