Observe the orientation of the base frame relative to the world frame.
More...
#include <BaseOrientation.h>
|
| BaseOrientation (const Parameters ¶ms) |
| Initialize observer. More...
|
|
std::string | prefix () const noexcept final |
| Prefix of outputs in the observation dictionary. More...
|
|
void | reset (const Dictionary &config) override |
| 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...
|
|
Observe the orientation of the base frame relative to the world frame.
◆ BaseOrientation()
upkie::cpp::observers::BaseOrientation::BaseOrientation |
( |
const Parameters & |
params | ) |
|
|
explicit |
Initialize observer.
- Parameters
-
◆ prefix()
std::string upkie::cpp::observers::BaseOrientation::prefix |
( |
| ) |
const |
|
inlinefinalvirtualnoexcept |
◆ read()
void upkie::cpp::observers::BaseOrientation::read |
( |
const Dictionary & |
observation | ) |
|
|
finalvirtual |
Read inputs from other observations.
- Parameters
-
[in] | observation | Dictionary to read other observations from. |
Reimplemented from upkie::cpp::observers::Observer.
◆ reset()
void upkie::cpp::observers::BaseOrientation::reset |
( |
const Dictionary & |
config | ) |
|
|
overridevirtual |
◆ write()
void upkie::cpp::observers::BaseOrientation::write |
( |
Dictionary & |
observation | ) |
|
|
finalvirtual |
Write outputs, called if reading was successful.
- Parameters
-
[out] | observation | Dictionary to write observations to. |
Reimplemented from upkie::cpp::observers::Observer.
The documentation for this class was generated from the following files:
- upkie/cpp/observers/BaseOrientation.h
- upkie/cpp/observers/BaseOrientation.cpp