aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear 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 (const std::string &name, const bool state, const Vector3s &pose) |
void | removeContact (const size_t i) |
bool | getContactState (const std::string &name) const |
const Vector3s & | getContactPose (const std::string &name) const |
void | setContactPose (const std::string &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 27 of file contact-map.hpp.
|
inline |
Definition at line 35 of file contact-map.hpp.
|
inline |
Definition at line 46 of file contact-map.hpp.
|
inline |
Definition at line 55 of file contact-map.hpp.
|
inline |
Definition at line 64 of file contact-map.hpp.
std::vector<std::string> aligator::ContactMapTpl< _Scalar >::contact_names_ |
Definition at line 73 of file contact-map.hpp.
std::vector<bool> aligator::ContactMapTpl< _Scalar >::contact_states_ |
Definition at line 74 of file contact-map.hpp.
PoseVec aligator::ContactMapTpl< _Scalar >::contact_poses_ |
Definition at line 75 of file contact-map.hpp.
std::size_t aligator::ContactMapTpl< _Scalar >::size_ |
Definition at line 76 of file contact-map.hpp.