| 
    wbc
    
   | 
 
Implementation of a Joint velocity task. More...
#include <JointAccelerationTask.hpp>
  
Public Member Functions | |
| JointAccelerationTask (TaskConfig config, RobotModelPtr robot_model, const std::vector< std::string > &joint_names) | |
| virtual | ~JointAccelerationTask ()=default | 
| virtual void | update () override | 
| Compute the joint task matrix A.   | |
| void | setReference (const Eigen::VectorXd &ref) | 
| Update the Joint reference input for this task.   | |
| const std::vector< std::string > & | jointNames () | 
| Returns the vector of joint names used by the task.   | |
  Public Member Functions inherited from wbc::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 | |
  Public Attributes inherited from wbc::Task | |
| 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 | 
  Protected Attributes inherited from wbc::Task | |
| RobotModelPtr | robot_model | 
Implementation of a Joint velocity task.
| wbc::JointAccelerationTask::JointAccelerationTask | ( | TaskConfig | config, | 
| RobotModelPtr | robot_model, | ||
| const std::vector< std::string > & | joint_names ) | 
      
  | 
  virtualdefault | 
      
  | 
  inline | 
Returns the vector of joint names used by the task.
| void wbc::JointAccelerationTask::setReference | ( | const Eigen::VectorXd & | ref | ) | 
Update the Joint reference input for this task.
| ref | Joint reference input. Vector size has ot be same number of task variables. Joint Names have to match the task joint names. Each entry has to have a valid acceleration. All other entries will be ignored. | 
      
  | 
  overridevirtual | 
Compute the joint task matrix A.
| robot_model | Pointer to the robot model from which get the state and compute the joint task matrix A | 
Implements wbc::Task.