#include <tsid/tasks/task-cop-equality.hpp>
|
| TaskCopEquality (const std::string &name, RobotWrapper &robot) |
|
void | setContactList (const std::vector< std::shared_ptr< ContactLevel > > *contacts) |
|
int | dim () const override |
| Return the dimension of the task. \info should be overloaded in the child class. More...
|
|
const std::string & | getAssociatedContactName () override |
|
const ConstraintBase & | compute (double t, ConstRefVector q, ConstRefVector v, Data &data) override |
|
const ConstraintBase & | compute (double t, ConstRefVector q, ConstRefVector v, Data &data, const std::vector< std::shared_ptr< ContactLevel > > *contacts) override |
|
const ConstraintBase & | getConstraint () const override |
|
void | setReference (const Vector3 &ref) |
|
const Vector3 & | getReference () const |
|
void | setContactNormal (const Vector3 &n) |
|
const Vector3 & | getContactNormal () const |
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | TaskContactForce (const std::string &name, RobotWrapper &robot) |
|
| TaskBase (const std::string &name, RobotWrapper &robot) |
|
virtual | ~TaskBase ()=default |
|
const std::string & | name () const |
|
void | name (const std::string &name) |
|
◆ ConstraintEquality
◆ SE3
◆ TrajectorySample
◆ Vector
◆ Vector3
◆ TaskCopEquality()
tsid::tasks::TaskCopEquality::TaskCopEquality |
( |
const std::string & |
name, |
|
|
RobotWrapper & |
robot |
|
) |
| |
◆ compute() [1/2]
◆ compute() [2/2]
Contact force tasks have an additional compute method that takes as extra input argument the list of active contacts. This can be needed for force tasks that involve all contacts, such as the CoP task.
Implements tsid::tasks::TaskContactForce.
◆ dim()
int tsid::tasks::TaskCopEquality::dim |
( |
| ) |
const |
|
overridevirtual |
Return the dimension of the task. \info should be overloaded in the child class.
Implements tsid::tasks::TaskBase.
◆ getAssociatedContactName()
const std::string & tsid::tasks::TaskCopEquality::getAssociatedContactName |
( |
| ) |
|
|
overridevirtual |
Return the name of the contact associated to this task if this task is associated to a specific contact. If this task is associated to multiple contact forces (all of them), returns an empty string.
Implements tsid::tasks::TaskContactForce.
◆ getConstraint()
const ConstraintBase & tsid::tasks::TaskCopEquality::getConstraint |
( |
| ) |
const |
|
overridevirtual |
◆ getContactNormal()
const Vector3 & tsid::tasks::TaskCopEquality::getContactNormal |
( |
| ) |
const |
◆ getReference()
const Vector3 & tsid::tasks::TaskCopEquality::getReference |
( |
| ) |
const |
◆ setContactList()
void tsid::tasks::TaskCopEquality::setContactList |
( |
const std::vector< std::shared_ptr< ContactLevel > > * |
contacts | ) |
|
◆ setContactNormal()
void tsid::tasks::TaskCopEquality::setContactNormal |
( |
const Vector3 & |
n | ) |
|
◆ setReference()
void tsid::tasks::TaskCopEquality::setReference |
( |
const Vector3 & |
ref | ) |
|
◆ Index
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Index tsid::tasks::TaskCopEquality::Index |
◆ m_constraint
◆ m_contact_name
std::string tsid::tasks::TaskCopEquality::m_contact_name |
|
protected |
◆ m_contacts
const std::vector<std::shared_ptr<ContactLevel> >* tsid::tasks::TaskCopEquality::m_contacts |
|
protected |
◆ m_normal
Vector3 tsid::tasks::TaskCopEquality::m_normal |
|
protected |
◆ m_ref
Vector3 tsid::tasks::TaskCopEquality::m_ref |
|
protected |
The documentation for this class was generated from the following files: