tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
tsid::tasks::TaskJointBounds Class Reference

#include <tsid/tasks/task-joint-bounds.hpp>

Inheritance diagram for tsid::tasks::TaskJointBounds:
Collaboration diagram for tsid::tasks::TaskJointBounds:

Public Types

typedef math::ConstraintBound ConstraintBound
typedef pinocchio::Data Data
Public Types inherited from tsid::tasks::TaskMotion
typedef trajectories::TrajectorySample TrajectorySample
Public Types inherited from tsid::tasks::TaskBase
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.
const ConstraintBasecompute (const double t, ConstRefVector q, ConstRefVector v, Data &data) override
const ConstraintBasegetConstraint () const override
void setTimeStep (double dt)
void setVelocityBounds (ConstRefVector lower, ConstRefVector upper)
void setAccelerationBounds (ConstRefVector lower, ConstRefVector upper)
const VectorgetAccelerationLowerBounds () const
const VectorgetAccelerationUpperBounds () const
const VectorgetVelocityLowerBounds () const
const VectorgetVelocityUpperBounds () const
virtual void setMask (math::ConstRefVector mask) override
Public Member Functions inherited from tsid::tasks::TaskMotion
 TaskMotion (const std::string &name, RobotWrapper &robot)
virtual const TrajectorySamplegetReference () const
virtual const VectorgetDesiredAcceleration () const
virtual Vector getAcceleration (ConstRefVector dv) const
virtual const Vectorposition_error () const
virtual const Vectorvelocity_error () const
virtual const Vectorposition () const
virtual const Vectorvelocity () const
virtual const Vectorposition_ref () const
virtual const Vectorvelocity_ref () const
virtual const VectorgetMask () const
virtual bool hasMask ()
Public Member Functions inherited from tsid::tasks::TaskBase
 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
Public Attributes inherited from tsid::tasks::TaskMotion
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector Vector
Public Attributes inherited from tsid::tasks::TaskBase
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
Protected Attributes inherited from tsid::tasks::TaskMotion
Vector m_mask
Vector m_dummy
trajectories::TrajectorySample TrajectorySample_dummy
Protected Attributes inherited from tsid::tasks::TaskBase
std::string m_name
RobotWrapperm_robot
 Reference on the robot model.

Member Typedef Documentation

◆ ConstraintBound

◆ Data

typedef pinocchio::Data tsid::tasks::TaskJointBounds::Data

Constructor & Destructor Documentation

◆ TaskJointBounds()

tsid::tasks::TaskJointBounds::TaskJointBounds(const std::string &name,
RobotWrapper &robot,
doubledt )

Member Function Documentation

◆ compute()

const ConstraintBase & tsid::tasks::TaskJointBounds::compute(const doublet,
ConstRefVectorq,
ConstRefVectorv,
Data &data )
overridevirtual

◆ dim()

int tsid::tasks::TaskJointBounds::dim()const
overridevirtual

Return the dimension of the task. \info should be overloaded in the child class.

Implements tsid::tasks::TaskBase.

◆ getAccelerationLowerBounds()

const Vector & tsid::tasks::TaskJointBounds::getAccelerationLowerBounds()const

◆ getAccelerationUpperBounds()

const Vector & tsid::tasks::TaskJointBounds::getAccelerationUpperBounds()const

◆ getConstraint()

const ConstraintBase & tsid::tasks::TaskJointBounds::getConstraint()const
overridevirtual

◆ getVelocityLowerBounds()

const Vector & tsid::tasks::TaskJointBounds::getVelocityLowerBounds()const

◆ getVelocityUpperBounds()

const Vector & tsid::tasks::TaskJointBounds::getVelocityUpperBounds()const

◆ setAccelerationBounds()

void tsid::tasks::TaskJointBounds::setAccelerationBounds(ConstRefVectorlower,
ConstRefVectorupper )

◆ setMask()

void tsid::tasks::TaskJointBounds::setMask(math::ConstRefVectormask)
overridevirtual

Reimplemented from tsid::tasks::TaskMotion.

◆ setTimeStep()

void tsid::tasks::TaskJointBounds::setTimeStep(doubledt)

◆ setVelocityBounds()

void tsid::tasks::TaskJointBounds::setVelocityBounds(ConstRefVectorlower,
ConstRefVectorupper )

Member Data Documentation

◆ m_a_lb

Vector tsid::tasks::TaskJointBounds::m_a_lb
protected

◆ m_a_ub

Vector tsid::tasks::TaskJointBounds::m_a_ub
protected

◆ m_constraint

ConstraintBound tsid::tasks::TaskJointBounds::m_constraint
protected

◆ m_ddq_max_due_to_vel

Vector tsid::tasks::TaskJointBounds::m_ddq_max_due_to_vel
protected

◆ m_ddq_min_due_to_vel

Vector tsid::tasks::TaskJointBounds::m_ddq_min_due_to_vel
protected

◆ m_dt

double tsid::tasks::TaskJointBounds::m_dt
protected

◆ m_na

int tsid::tasks::TaskJointBounds::m_na
protected

◆ m_nv

int tsid::tasks::TaskJointBounds::m_nv
protected

◆ m_v_lb

Vector tsid::tasks::TaskJointBounds::m_v_lb
protected

◆ m_v_ub

Vector tsid::tasks::TaskJointBounds::m_v_ub
protected

◆ Vector

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector tsid::tasks::TaskJointBounds::Vector

The documentation for this class was generated from the following files: