wbc
|
Implementation of a CoM velocity task. More...
#include <CoMAccelerationTask.hpp>
Public Member Functions | |
CoMAccelerationTask (TaskConfig config, RobotModelPtr robot_model) | |
virtual | ~CoMAccelerationTask ()=default |
virtual void | update () override |
Update Task matrices and vectors. | |
void | setReference (const Eigen::Vector3d &ref) |
Update the CoM reference input for this task. | |
![]() | |
Task () | |
Default constructor. | |
Task (TaskConfig config, RobotModelPtr robot_model, uint nv, TaskType type) | |
Resizes all members. | |
~Task () | |
void | reset () |
Reset task variables to initial values. | |
void | setWeights (const Eigen::VectorXd &weights) |
Set task weights. | |
void | setActivation (const double activation) |
Set task activation. | |
Additional Inherited Members | |
![]() | |
TaskConfig | config |
Eigen::VectorXd | y_ref |
Eigen::VectorXd | y_ref_world |
Eigen::VectorXd | weights |
Eigen::VectorXd | weights_world |
double | activation |
Eigen::MatrixXd | A |
Eigen::MatrixXd | Aw |
uint | nv |
uint | nj |
TaskType | type |
![]() | |
RobotModelPtr | robot_model |
Implementation of a CoM velocity task.
wbc::CoMAccelerationTask::CoMAccelerationTask | ( | TaskConfig | config, |
RobotModelPtr | robot_model ) |
|
virtualdefault |
void wbc::CoMAccelerationTask::setReference | ( | const Eigen::Vector3d & | ref | ) |
Update the CoM reference input for this task.
ref | Reference input for this task. Only the velocity part is relevant (Must have a valid linear and angular velocity!) |
|
overridevirtual |