upkie 9.0.0
Open-source wheeled biped robots
|
Observe contact between the wheels and the floor. More...
#include <FloorContact.h>
Classes | |
struct | Parameters |
Parameters to the floor contact observer. More... | |
Public Member Functions | |
FloorContact (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... | |
Observe contact between the wheels and the floor.
This observer makes two assumptions:
The two planes are depicted in this overview figure:
It determines whether contact is established based on:
The latter is an incremental improvement to filter out outliers from the former.