tsid
1.8.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
|
#include <tsid/tasks/task-joint-bounds.hpp>
Public Types | |
typedef math::ConstraintBound | ConstraintBound |
typedef pinocchio::Data | Data |
![]() | |
typedef trajectories::TrajectorySample | TrajectorySample |
![]() | |
typedef math::ConstRefVector | ConstRefVector |
typedef pinocchio::Data | Data |
typedef robots::RobotWrapper | RobotWrapper |
Public Member Functions | |
TaskJointBounds (const std::string &name, RobotWrapper &robot, double dt) | |
int | dim () const override |
Return the dimension of the task. \info should be overloaded in the child class. More... | |
const ConstraintBase & | compute (const double t, ConstRefVector q, ConstRefVector v, Data &data) override |
const ConstraintBase & | getConstraint () const override |
void | setTimeStep (double dt) |
void | setVelocityBounds (ConstRefVector lower, ConstRefVector upper) |
void | setAccelerationBounds (ConstRefVector lower, ConstRefVector upper) |
const Vector & | getAccelerationLowerBounds () const |
const Vector & | getAccelerationUpperBounds () const |
const Vector & | getVelocityLowerBounds () const |
const Vector & | getVelocityUpperBounds () const |
virtual void | setMask (math::ConstRefVector mask) override |
![]() | |
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 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) |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector | Vector |
![]() | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector | Vector |
![]() | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::ConstraintBase | ConstraintBase |
Protected Attributes | |
Vector | m_v_lb |
Vector | m_v_ub |
Vector | m_a_lb |
Vector | m_a_ub |
Vector | m_ddq_max_due_to_vel |
Vector | m_ddq_min_due_to_vel |
ConstraintBound | m_constraint |
double | m_dt |
int | m_nv |
int | m_na |
![]() | |
Vector | m_mask |
Vector | m_dummy |
trajectories::TrajectorySample | TrajectorySample_dummy |
![]() | |
std::string | m_name |
RobotWrapper & | m_robot |
Reference on the robot model. More... | |
typedef pinocchio::Data tsid::tasks::TaskJointBounds::Data |
tsid::tasks::TaskJointBounds::TaskJointBounds | ( | const std::string & | name, |
RobotWrapper & | robot, | ||
double | dt | ||
) |
|
overridevirtual |
Implements tsid::tasks::TaskBase.
|
overridevirtual |
Return the dimension of the task. \info should be overloaded in the child class.
Implements tsid::tasks::TaskBase.
const Vector & tsid::tasks::TaskJointBounds::getAccelerationLowerBounds | ( | ) | const |
const Vector & tsid::tasks::TaskJointBounds::getAccelerationUpperBounds | ( | ) | const |
|
overridevirtual |
Implements tsid::tasks::TaskBase.
const Vector & tsid::tasks::TaskJointBounds::getVelocityLowerBounds | ( | ) | const |
const Vector & tsid::tasks::TaskJointBounds::getVelocityUpperBounds | ( | ) | const |
void tsid::tasks::TaskJointBounds::setAccelerationBounds | ( | ConstRefVector | lower, |
ConstRefVector | upper | ||
) |
|
overridevirtual |
Reimplemented from tsid::tasks::TaskMotion.
void tsid::tasks::TaskJointBounds::setTimeStep | ( | double | dt | ) |
void tsid::tasks::TaskJointBounds::setVelocityBounds | ( | ConstRefVector | lower, |
ConstRefVector | upper | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector tsid::tasks::TaskJointBounds::Vector |