|
| HistoryObserver (const std::vector< std::string > &keys, size_t size, const T &default_value) |
| Initialize observer. More...
|
|
std::string | prefix () const noexcept final |
| Prefix of outputs in the observation dictionary. More...
|
|
void | reset (const Dictionary &config) final |
| Reset observer. More...
|
|
void | read (const Dictionary &observation) final |
| Read inputs from other observations. More...
|
|
void | write (Dictionary &observation) final |
| Write outputs, called if reading was successful. More...
|
|
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...
|
|
template<typename T>
class upkie::cpp::observers::HistoryObserver< T >
Report high-frequency history vectors to lower-frequency agents.
This observer allows processing higher-frequency signals from the spine as vectors of observations reported to lower-frequency agents.