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

Base class for observers. More...

#include <Observer.h>

Public Member Functions

virtual ~Observer ()
 Destructor is virtual to deallocate lists of observers properly.
 
virtual std::string prefix () const noexcept
 Prefix of outputs in the observation dictionary. More...
 
virtual void reset (const Dictionary &config)
 Reset observer. More...
 
virtual void read (const Dictionary &observation)
 Read inputs from other observations. More...
 
virtual void write (Dictionary &observation)
 Write outputs, called if reading was successful. More...
 

Detailed Description

Base class for observers.

Observers read and write from/to observation dictionaries.


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