|
aligator
0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
|
Contact map for centroidal costs and dynamics. More...
#include <aligator/modelling/contact-map.hpp>
Public Types | |
| using | Scalar = _Scalar |
| using | PoseVec = StdVectorEigenAligned<Vector3s> |
Public Member Functions | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| ContactMapTpl (const std::vector< std::string > &contact_names, const std::vector< bool > &contact_states, const PoseVec &contact_poses) | |
| void | addContact (std::string_view name, const bool state, const Vector3s &pose) |
| void | removeContact (const size_t i) |
| bool | getContactState (std::string_view name) const |
| const Vector3s & | getContactPose (std::string_view name) const |
| void | setContactPose (std::string_view name, const Vector3s &ref) |
Public Attributes | |
| std::vector< std::string > | contact_names_ |
| std::vector< bool > | contact_states_ |
| PoseVec | contact_poses_ |
| std::size_t | size_ |
Contact map for centroidal costs and dynamics.
Definition at line 8 of file contact-map.hpp.
| using aligator::ContactMapTpl< _Scalar >::Scalar = _Scalar |
Definition at line 9 of file contact-map.hpp.
| using aligator::ContactMapTpl< _Scalar >::PoseVec = StdVectorEigenAligned<Vector3s> |
Definition at line 11 of file contact-map.hpp.
|
inline |
Definition at line 13 of file contact-map.hpp.
| aligator::ContactMapTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inline |
Definition at line 28 of file contact-map.hpp.
|
inline |
Definition at line 36 of file contact-map.hpp.
|
inline |
Definition at line 47 of file contact-map.hpp.
|
inline |
Definition at line 57 of file contact-map.hpp.
|
inline |
Definition at line 67 of file contact-map.hpp.
| std::vector<std::string> aligator::ContactMapTpl< _Scalar >::contact_names_ |
Definition at line 77 of file contact-map.hpp.
| std::vector<bool> aligator::ContactMapTpl< _Scalar >::contact_states_ |
Definition at line 78 of file contact-map.hpp.
| PoseVec aligator::ContactMapTpl< _Scalar >::contact_poses_ |
Definition at line 79 of file contact-map.hpp.
| std::size_t aligator::ContactMapTpl< _Scalar >::size_ |
Definition at line 80 of file contact-map.hpp.