#include <mc_tvm/MomentumFunction.h>
This class implements a Momentum function for a given robot
You can provide:
◆ MomentumFunction()
mc_tvm::MomentumFunction::MomentumFunction |
( |
const mc_rbdyn::Robot & |
robot | ) |
|
Constructor
Creates a Momentum function, the objective is the current robot's Momentum
◆ algo()
Get the associated algorithm
◆ momentum() [1/2]
const sva::ForceVecd& mc_tvm::MomentumFunction::momentum |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ momentum() [2/2]
void mc_tvm::MomentumFunction::momentum |
( |
const sva::ForceVecd & |
momentum | ) |
|
|
inlinenoexcept |
◆ refAccel() [1/2]
const Eigen::Vector6d& mc_tvm::MomentumFunction::refAccel |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ refAccel() [2/2]
void mc_tvm::MomentumFunction::refAccel |
( |
const Eigen::Vector6d & |
refAccel | ) |
|
|
inlinenoexcept |
◆ refVel() [1/2]
const Eigen::Vector6d& mc_tvm::MomentumFunction::refVel |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ refVel() [2/2]
void mc_tvm::MomentumFunction::refVel |
( |
const Eigen::Vector6d & |
refVel | ) |
|
|
inlinenoexcept |
◆ reset()
void mc_tvm::MomentumFunction::reset |
( |
| ) |
|
Reset the objectve to the current momentum and reference speed/acceleration to zero
The documentation for this struct was generated from the following file: