tsid
1.8.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
|
#include <tsid/tasks/task-motion.hpp>
Public Types | |
typedef trajectories::TrajectorySample | TrajectorySample |
![]() | |
typedef math::ConstRefVector | ConstRefVector |
typedef pinocchio::Data | Data |
typedef robots::RobotWrapper | RobotWrapper |
Public Member Functions | |
TaskMotion (const std::string &name, RobotWrapper &robot) | |
virtual const TrajectorySample & | getReference () const |
virtual const Vector & | getDesiredAcceleration () const |
virtual Vector | getAcceleration (ConstRefVector dv) const |
virtual const Vector & | position_error () const |
virtual const Vector & | velocity_error () const |
virtual const Vector & | position () const |
virtual const Vector & | velocity () const |
virtual const Vector & | position_ref () const |
virtual const Vector & | velocity_ref () const |
virtual void | setMask (math::ConstRefVector mask) |
virtual const Vector & | getMask () const |
virtual bool | hasMask () |
![]() | |
TaskBase (const std::string &name, RobotWrapper &robot) | |
virtual | ~TaskBase ()=default |
const std::string & | name () const |
void | name (const std::string &name) |
virtual int | dim () const =0 |
Return the dimension of the task. \info should be overloaded in the child class. More... | |
virtual const ConstraintBase & | compute (double t, ConstRefVector q, ConstRefVector v, Data &data)=0 |
virtual const ConstraintBase & | getConstraint () const =0 |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector | Vector |
![]() | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::ConstraintBase | ConstraintBase |
Protected Attributes | |
Vector | m_mask |
Vector | m_dummy |
trajectories::TrajectorySample | TrajectorySample_dummy |
![]() | |
std::string | m_name |
RobotWrapper & | m_robot |
Reference on the robot model. More... | |
tsid::tasks::TaskMotion::TaskMotion | ( | const std::string & | name, |
RobotWrapper & | robot | ||
) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosture, tsid::tasks::TaskComEquality, and tsid::tasks::TaskAMEquality.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosture, and tsid::tasks::TaskComEquality.
|
virtual |
|
virtual |
Reimplemented in tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosture, and tsid::tasks::TaskComEquality.
|
virtual |
|
virtual |
Reimplemented in tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosture, and tsid::tasks::TaskComEquality.
|
protected |
|
protected |
|
protected |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector tsid::tasks::TaskMotion::Vector |