upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches
HistoryObserver< T > Class Template Reference

Report high-frequency history vectors to lower-frequency agents. More...

#include <HistoryObserver.h>

Public Member Functions

 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...
 

Detailed Description

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.


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