#include <mc_tvm/PostureFunction.h>
|
| PostureFunction (const mc_rbdyn::Robot &robot) |
|
void | reset () |
|
void | posture (const std::string &j, const std::vector< double > &q) |
|
void | posture (const std::vector< std::vector< double >> &p) |
|
const std::vector< std::vector< double > > & | posture () const noexcept |
|
const Eigen::VectorXd & | refVel () const noexcept |
|
void | refVel (const Eigen::VectorXd &vel) noexcept |
|
const Eigen::VectorXd & | refAccel () const noexcept |
|
void | refAccel (const Eigen::VectorXd &acc) noexcept |
|
This class implements a posture function for a given robot
◆ PostureFunction()
Constructor
Set the objective to the current posture of robot
◆ posture() [1/3]
const std::vector<std::vector<double> >& mc_tvm::PostureFunction::posture |
( |
| ) |
const |
|
inlinenoexcept |
Access the full target posture
◆ posture() [2/3]
void mc_tvm::PostureFunction::posture |
( |
const std::string & |
j, |
|
|
const std::vector< double > & |
q |
|
) |
| |
Set the target for a given joint
- Parameters
-
j | Joint name |
q | Target configuration |
◆ posture() [3/3]
void mc_tvm::PostureFunction::posture |
( |
const std::vector< std::vector< double >> & |
p | ) |
|
Set the fully body posture
◆ refAccel() [1/2]
const Eigen::VectorXd& mc_tvm::PostureFunction::refAccel |
( |
| ) |
const |
|
inlinenoexcept |
Returns the reference acceleration
◆ refAccel() [2/2]
void mc_tvm::PostureFunction::refAccel |
( |
const Eigen::VectorXd & |
acc | ) |
|
|
inlinenoexcept |
Set the reference acceleration
◆ refVel() [1/2]
const Eigen::VectorXd& mc_tvm::PostureFunction::refVel |
( |
| ) |
const |
|
inlinenoexcept |
Returns the reference velocity
◆ refVel() [2/2]
void mc_tvm::PostureFunction::refVel |
( |
const Eigen::VectorXd & |
vel | ) |
|
|
inlinenoexcept |
Set the reference velocity
◆ reset()
void mc_tvm::PostureFunction::reset |
( |
| ) |
|
Set the target posture to the current robot's posture
◆ updateValue_()
void mc_tvm::PostureFunction::updateValue_ |
( |
| ) |
|
|
overrideprotected |
◆ updateVelocity_()
void mc_tvm::PostureFunction::updateVelocity_ |
( |
| ) |
|
|
overrideprotected |
◆ j0_
int mc_tvm::PostureFunction::j0_ |
|
protected |
◆ posture_
std::vector<std::vector<double> > mc_tvm::PostureFunction::posture_ |
|
protected |
◆ refAccel_
Eigen::VectorXd mc_tvm::PostureFunction::refAccel_ |
|
protected |
◆ refVel_
Eigen::VectorXd mc_tvm::PostureFunction::refVel_ |
|
protected |
◆ robot_
The documentation for this class was generated from the following file: