|
| KinematicInertialObserver (const std::string &type, double dt) |
|
void | configure (const mc_control::MCController &ctl, const mc_rtc::Configuration &config) override |
| Configure observer. More...
|
|
void | reset (const mc_control::MCController &ctl) override |
| Resets the estimator from given robot state Calls FLoatingBasePosObserver::reset(realRobot) to estimate the floating base position, and initializes the velocity filter with robot's floatingbase velocity realRobot.velW() More...
|
|
void | reset (const mc_control::MCController &ctl, const sva::MotionVecd &velW) |
| Resets the estimator from given robot state First calls FLoatingBasePosObserver::reset(realRobot) to estimate the floating base position, and initializes the velocity filter with the given initial velocity. More...
|
|
bool | run (const mc_control::MCController &ctl) override |
| Compute observer state. More...
|
|
void | update (mc_control::MCController &ctl) override |
| Update the real robot state from the observed state. More...
|
|
const sva::MotionVecd & | velW () const |
| Get floating-base velocity in the world frame. The velocity is obtained by finite differences of the estimated position, filtered with a simple low-pass filter. More...
|
|
| KinematicInertialPoseObserver (const std::string &type, double dt) |
|
void | configure (const mc_control::MCController &ctl, const mc_rtc::Configuration &config) override |
|
void | reset (const mc_control::MCController &ctl) override |
|
bool | run (const mc_control::MCController &ctl) override |
|
void | update (mc_control::MCController &ctl) override |
|
const sva::PTransformd & | posW () const |
| Get floating-base pose in the world frame. More...
|
|
| Observer (const std::string &type, double dt) |
|
virtual | ~Observer ()=default |
|
void | name (const std::string &name) |
| Set the observer's name. More...
|
|
const std::string & | name () const noexcept |
| Returns the observer's name. More...
|
|
void | addToLogger_ (const mc_control::MCController &ctl, mc_rtc::Logger &logger, const std::string &category="") |
| Add observer entries to the logger under the categrory "category + name()". More...
|
|
void | removeFromLogger_ (mc_rtc::Logger &logger, const std::string &category="") |
| Remove observer from logger. More...
|
|
void | addToGUI_ (const mc_control::MCController &ctl, mc_rtc::gui::StateBuilder &gui, std::vector< std::string > category={}) |
| Add observer to the gui under category {category, name()}. More...
|
|
void | removeFromGUI_ (mc_rtc::gui::StateBuilder &gui, std::vector< std::string > category={}) |
| Remove observer from gui. More...
|
|
const std::string & | desc () const noexcept |
| Short description of the observer. More...
|
|
const std::string | type () const noexcept |
|
const std::string & | error () const noexcept |
|
double | dt () const noexcept |
|
|
void | addToLogger (const mc_control::MCController &ctl, mc_rtc::Logger &, const std::string &category) override |
| Add observer from logger. More...
|
|
void | addToGUI (const mc_control::MCController &, mc_rtc::gui::StateBuilder &, const std::vector< std::string > &category) override |
| Add observer information the GUI. More...
|
|
void | addToLogger (const mc_control::MCController &ctl, mc_rtc::Logger &, const std::string &category) override |
| Add observer from logger. More...
|
|
void | addToGUI (const mc_control::MCController &, mc_rtc::gui::StateBuilder &, const std::vector< std::string > &category) override |
| Add observer information the GUI. More...
|
|
void | estimateOrientation (const mc_rbdyn::Robot &robot, const mc_rbdyn::Robot &realRobot) |
|
void | estimatePosition (const mc_control::MCController &ctl) |
|
virtual void | removeFromLogger (mc_rtc::Logger &, const std::string &) |
| Remove observer from logger. More...
|
|
virtual void | removeFromGUI (mc_rtc::gui::StateBuilder &, const std::vector< std::string > &category) |
| Remove observer from GUI. More...
|
|
Kinematics-inertial observer of the floating base position with finite differences estimation of the floating base velocity using low-pass filtering.
- See also
- KinematicInertialPoseObserver for details about the estimation of the floating base position.
Update the real robot state from the observed state.
This function is expected to write the estimated parameters to the corresponding real robot instances ctl.realRobots(), and compute the necessary information to ensure a consistent state (e.g calling forward velocity after updating joint velocities, etc).
This function is called after Observer::run() if the observer is declared to update the real robot in the pipeline configuration.
- Parameters
-
ctl | Controller running this observer |
Implements mc_observers::Observer.