|
mc_rtc
2.14.0
|
#include <mc_tvm/PositionFunction.h>


Public Member Functions | |
| PositionFunction (const mc_rbdyn::RobotFrame &frame) | |
| void | reset () |
| const Eigen::Vector3d & | position () const noexcept |
| void | position (const Eigen::Vector3d &pos) noexcept |
| const Eigen::Vector3d & | refVel () const noexcept |
| void | refVel (const Eigen::Vector3d &refVel) noexcept |
| const Eigen::Vector3d & | refAccel () const noexcept |
| void | refAccel (const Eigen::Vector3d &refAccel) noexcept |
| const mc_rbdyn::RobotFrame & | frame () const noexcept |
Protected Member Functions | |
| void | updateValue () |
| void | updateVelocity () |
| void | updateJacobian () |
| void | updateNormalAcceleration () |
Protected Attributes | |
| mc_rbdyn::ConstRobotFramePtr | robot_frame_ |
| mc_tvm::RobotFrame & | frame_ |
| Eigen::Vector3d | pos_ |
| Eigen::Vector3d | refVel_ |
| Eigen::Vector3d | refAccel_ |
This class implements a position function for a given frame
| mc_tvm::PositionFunction::PositionFunction | ( | const mc_rbdyn::RobotFrame & | frame | ) |
Constructor
Set the objective to the current frame position
|
inlinenoexcept |
Get the frame
|
inlinenoexcept |
Get the current objective
|
inlinenoexcept |
Set the objective
|
inlinenoexcept |
Get the current objective
|
inlinenoexcept |
Set the objective
|
inlinenoexcept |
Get the current objective
|
inlinenoexcept |
Set the objective
| void mc_tvm::PositionFunction::reset | ( | ) |
Set the target position to the current frame position and reset reference velocity/acceleration to zero
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Target
|
protected |
|
protected |
|
protected |