|
upkie 10.0.0
Open-source wheeled biped robots
|
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... | |
Base class for observers.
Observers read and write from/to observation dictionaries.