#include <mc_tvm/CoMFunction.h>
|
| CoMFunction (const mc_rbdyn::Robot &robot) |
|
void | reset () |
|
const Eigen::Vector3d & | com () const noexcept |
|
void | com (const Eigen::Vector3d &com) noexcept |
|
const Eigen::Vector3d & | actual () const 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 |
|
This class implements a CoM function for a given robot
You can provide:
- a reference CoM target
- a reference CoM velocity target
- a reference CoM acceleration target
◆ CoMFunction()
Constructor
Creates a CoM function, the objective is the current robot's CoM
◆ actual()
const Eigen::Vector3d& mc_tvm::CoMFunction::actual |
( |
| ) |
const |
|
inlinenoexcept |
Get the robot's current CoM
◆ com() [1/2]
const Eigen::Vector3d& mc_tvm::CoMFunction::com |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ com() [2/2]
void mc_tvm::CoMFunction::com |
( |
const Eigen::Vector3d & |
com | ) |
|
|
inlinenoexcept |
◆ refAccel() [1/2]
const Eigen::Vector3d& mc_tvm::CoMFunction::refAccel |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ refAccel() [2/2]
void mc_tvm::CoMFunction::refAccel |
( |
const Eigen::Vector3d & |
refAccel | ) |
|
|
inlinenoexcept |
◆ refVel() [1/2]
const Eigen::Vector3d& mc_tvm::CoMFunction::refVel |
( |
| ) |
const |
|
inlinenoexcept |
Get the current objective
◆ refVel() [2/2]
void mc_tvm::CoMFunction::refVel |
( |
const Eigen::Vector3d & |
refVel | ) |
|
|
inlinenoexcept |
◆ reset()
void mc_tvm::CoMFunction::reset |
( |
| ) |
|
Reset the objective to the current CoM and reference speed/acceleration to zero
The documentation for this struct was generated from the following file: