state-observation 1.8.0
General implementation of observers.
Loading...
Searching...
No Matches
stateObservation::odometry::LeggedOdometryManager::LeggedOdometryContactsManager Struct Reference

---------------------—Contacts Manager------------------------— More...

#include <legged-odometry-manager.hpp>

Inheritance diagram for stateObservation::odometry::LeggedOdometryManager::LeggedOdometryContactsManager:
[legend]
Collaboration diagram for stateObservation::odometry::LeggedOdometryManager::LeggedOdometryContactsManager:
[legend]

Classes

struct  sortByLambda

Public Attributes

std::set< std::reference_wrapper< LoContact >, sortByLambda > oriOdometryContacts_

Additional Inherited Members

Public Member Functions inherited from stateObservation::measurements::ContactsManager< LoContact >
void updateContacts (const std::set< std::string > &latestContactList, OnNewContact onNewContact, OnMaintainedContact onMaintainedContact, OnRemovedContact onRemovedContact, OnAddedContact onAddedContact=nullptr)
 Updates the list of contacts to inform whether they are newly set, removed, etc., and execute actions accordingly.
std::unordered_map< std::string, LoContact > & contacts ()
 Get the map of all the contacts.
bool contactsDetected () const noexcept
LoContact * findContact (const std::string &name)
 Accessor for the a contact associated to a surface contained in the map.
Protected Member Functions inherited from stateObservation::measurements::ContactsManager< LoContact >
LoContact & addContactToManager (const std::string &name, OnAddedContact onAddedContact=nullptr)
 Insert a contact to the map of contacts.
Protected Attributes inherited from stateObservation::measurements::ContactsManager< LoContact >
std::unordered_map< std::string, LoContact > listContacts_
std::set< std::string > currentContactsList_
unsigned idx_
bool contactsDetected_

Detailed Description

---------------------—Contacts Manager------------------------—

Adaptation of the structure ContactsManager to the legged odometry, using personalized contacts classes.

Definition at line 354 of file legged-odometry-manager.hpp.

Member Data Documentation

◆ oriOdometryContacts_

std::set<std::reference_wrapper<LoContact>, sortByLambda> stateObservation::odometry::LeggedOdometryManager::LeggedOdometryContactsManager::oriOdometryContacts_

Definition at line 374 of file legged-odometry-manager.hpp.


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