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


Classes | |
| struct | NewRobotToken |
Public Types | |
| using | mimic_variables_t = std::pair< tvm::VariableVector, Eigen::VectorXd > |
Public Member Functions | |
| Robot (NewRobotToken, const mc_rbdyn::Robot &robot) | |
| Robot (Robot &&)=delete | |
| Robot & | operator= (Robot &&)=delete |
| Robot (const Robot &)=delete | |
| Robot & | operator= (const Robot &)=delete |
| const mc_rbdyn::Robot & | robot () const |
| const Limits & | limits () const noexcept |
| Limits & | limits () noexcept |
| const tvm::VariablePtr & | q () const noexcept |
| tvm::VariablePtr & | q () noexcept |
| const tvm::VariablePtr & | alpha () const noexcept |
| tvm::VariablePtr & | alpha () noexcept |
| const tvm::VariablePtr & | alphaD () const noexcept |
| tvm::VariablePtr & | alphaD () noexcept |
| const tvm::VariablePtr & | qFloatingBase () const noexcept |
| tvm::VariablePtr & | qFloatingBase () noexcept |
| const tvm::VariablePtr & | qJoints () const noexcept |
| tvm::VariablePtr & | qJoints () noexcept |
| tvm::VariablePtr | qJoint (size_t jIdx) |
| tvm::VariablePtr | qJoint (const std::string &jName) |
| const std::map< tvm::VariablePtr, mimic_variables_t > & | mimics () const noexcept |
| std::map< tvm::VariablePtr, mimic_variables_t > & | mimics () noexcept |
| const tvm::VariablePtr & | tau () const noexcept |
| tvm::VariablePtr & | tau () |
| const CoM & | comAlgo () const noexcept |
| CoM & | comAlgo () noexcept |
| const Momentum & | momentumAlgo () const noexcept |
| Momentum & | momentumAlgo () noexcept |
| const Eigen::MatrixXd & | H () const noexcept |
| const Eigen::VectorXd & | C () const noexcept |
| const std::vector< sva::MotionVecd > & | normalAccB () const noexcept |
| Eigen::DenseIndex | refJointIndexToQIndex (size_t jointIndex) const |
| Eigen::DenseIndex | refJointIndexToQDotIndex (size_t jointIndex) const |
Friends | |
| struct | mc_rbdyn::Robot |
Represent a robot managed by the optimization problem
It is created through an mc_rbdyn::Robot
It provides signals that are relevant for computing quantities related to the robot.
Variables:
Individual outputs:
Meta outputs: These outputs are provided for convenience sake
| using mc_tvm::Robot::mimic_variables_t = std::pair<tvm::VariableVector, Eigen::VectorXd> |
| mc_tvm::Robot::Robot | ( | NewRobotToken | , |
| const mc_rbdyn::Robot & | robot | ||
| ) |
|
delete |
|
delete |
|
inlinenoexcept |
Access q first derivative (joint velocity) (const)
|
inlinenoexcept |
Access q first derivative (joint velocity)
|
inlinenoexcept |
Access q second derivative (joint acceleration) (const)
|
inlinenoexcept |
Access q second derivative (joint acceleration)
|
inlinenoexcept |
Returns the non-linear dynamics component
|
inlinenoexcept |
Returns the CoM algorithm associated to this robot (const)
|
inlinenoexcept |
Returns the mass matrix
|
inlinenoexcept |
Retrieve the joint limits (const)
|
inlinenoexcept |
Retrieve the joint limits
|
inlinenoexcept |
Access mimics' variable map (const)
|
inlinenoexcept |
Access mimics' variable map
|
inlinenoexcept |
Returns the momentum algorithm associated with this robot (const)
|
inlinenoexcept |
Returns the momentum algorithm associated with this robot (const)
|
inlinenoexcept |
Vector of normal acceleration in body coordinates
|
inlinenoexcept |
Access q variable (const)
|
inlinenoexcept |
Access q variable
|
inlinenoexcept |
Access floating-base variable (const)
|
inlinenoexcept |
Access free-flyer variable
|
inline |
Given a joint name, returns the TVM variable it belongs to and the index of the joint in this variable
| jName | Joint name |
| If | the robot does not have such a joint or the joint is not actuated |
| tvm::VariablePtr mc_tvm::Robot::qJoint | ( | size_t | jIdx | ) |
Given a joint index creates a TVM variable corresponding to this variable
| jIdx | Joint index |
| If | the joint index is out of bounds or the joint is not actuated |
|
inlinenoexcept |
Access joints variable (const)
|
inlinenoexcept |
Access joints variable
|
inline |
Given a joint index in the reference joint order, returns the corresponding joint index in the q derivatives variable
| jointIndex | Joint index in refJointOrder |
|
inline |
Given a joint index in the reference joint order, returns the corresponding joint index in the q variable
| jointIndex | Joint index in refJointOrder |
|
inline |
Retrieve the associated robot (const)
| If | the original robot has been destroyed |
|
inline |
Access tau variable
|
inlinenoexcept |
Access tau variable (const)
|
friend |