wbc
wbc::CartesianAccelerationTask Class Reference

Implementation of a Cartesian acceleration task. More...

#include <CartesianAccelerationTask.hpp>

Inheritance diagram for wbc::CartesianAccelerationTask:
wbc::CartesianTask wbc::Task

Public Member Functions

 CartesianAccelerationTask (TaskConfig config, uint n_robot_joints)
 
virtual ~CartesianAccelerationTask ()=default
 
virtual void update (RobotModelPtr robot_model) override
 Compute the cartesian task matrix A.
 
virtual void setReference (const base::samples::RigidBodyStateSE3 &ref)
 Update the Cartesian reference input for this task.
 
- Public Member Functions inherited from wbc::CartesianTask
 CartesianTask (const TaskConfig &_config, uint n_robot_joints)
 
virtual ~CartesianTask ()
 
- Public Member Functions inherited from wbc::Task
 Task ()
 Default constructor.
 
 Task (const TaskConfig &_config, uint n_robot_joints)
 Resizes all members.
 
 ~Task ()
 
void reset ()
 Reset task variables to initial values.
 
void checkTimeout ()
 Check if the task is in timeout and set the timeout flag accordingly. A task is in timeout if.
 
void setWeights (const base::VectorXd &weights)
 Set task weights.
 
void setActivation (const double activation)
 Set task activation.
 

Additional Inherited Members

- Public Attributes inherited from wbc::Task
base::Time time
 
TaskConfig config
 
base::VectorXd y_ref
 
base::VectorXd y_ref_root
 
base::VectorXd weights
 
base::VectorXd weights_root
 
double activation
 
int timeout
 
base::MatrixXd A
 
base::MatrixXd Aw
 

Detailed Description

Implementation of a Cartesian acceleration task.

Constructor & Destructor Documentation

◆ CartesianAccelerationTask()

wbc::CartesianAccelerationTask::CartesianAccelerationTask ( TaskConfig config,
uint n_robot_joints )

◆ ~CartesianAccelerationTask()

virtual wbc::CartesianAccelerationTask::~CartesianAccelerationTask ( )
virtualdefault

Member Function Documentation

◆ setReference()

void wbc::CartesianAccelerationTask::setReference ( const base::samples::RigidBodyStateSE3 & ref)
virtual

Update the Cartesian reference input for this task.

Parameters
refReference input for this task. Only the acceleration part is relevant (Must have a valid linear and angular acceleration!)

Implements wbc::CartesianTask.

◆ update()

void wbc::CartesianAccelerationTask::update ( RobotModelPtr robot_model)
overridevirtual

Compute the cartesian task matrix A.

Parameters
robot_modelPointer to the robot model from which get the state and compute the cartesian task matrix A

Implements wbc::Task.


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