#include <mc_tvm/DynamicFunction.h>
Public Member Functions | |
ForceContact (const mc_rbdyn::RobotFrame &frame, std::vector< sva::PTransformd > points, double dir) | |
void | updateJacobians (DynamicFunction &parent) |
sva::ForceVecd | force () const |
Public Attributes | |
mc_rbdyn::ConstRobotFramePtr | frame_ |
tvm::VariableVector | forces_ |
std::vector< sva::PTransformd > | points_ |
double | dir_ |
rbd::Jacobian | jac_ |
rbd::Blocks | blocks_ |
Eigen::MatrixXd | force_jac_ |
Eigen::MatrixXd | full_jac_ |
Holds data for the force part of the motion equation
mc_tvm::DynamicFunction::ForceContact::ForceContact | ( | const mc_rbdyn::RobotFrame & | frame, |
std::vector< sva::PTransformd > | points, | ||
double | dir | ||
) |
Constructor
sva::ForceVecd mc_tvm::DynamicFunction::ForceContact::force | ( | ) | const |
Compute the contact force
void mc_tvm::DynamicFunction::ForceContact::updateJacobians | ( | DynamicFunction & | parent | ) |
Update jacobians
rbd::Blocks mc_tvm::DynamicFunction::ForceContact::blocks_ |
RBDyn jacobian blocks
double mc_tvm::DynamicFunction::ForceContact::dir_ |
Contact direction
Eigen::MatrixXd mc_tvm::DynamicFunction::ForceContact::force_jac_ |
Used for intermediate Jacobian computation
tvm::VariableVector mc_tvm::DynamicFunction::ForceContact::forces_ |
Force associated to a contact
mc_rbdyn::ConstRobotFramePtr mc_tvm::DynamicFunction::ForceContact::frame_ |
Associated frame
Eigen::MatrixXd mc_tvm::DynamicFunction::ForceContact::full_jac_ |
rbd::Jacobian mc_tvm::DynamicFunction::ForceContact::jac_ |
RBDyn jacobian
std::vector<sva::PTransformd> mc_tvm::DynamicFunction::ForceContact::points_ |
Contact points