Class Wrench
Defined in File Force.h
Inheritance Relationships
Base Type
public OpenSoT::Task< Eigen::MatrixXd, Eigen::VectorXd >(Template Class Task)
Class Documentation
- 
class Wrench : public OpenSoT::Task<Eigen::MatrixXd, Eigen::VectorXd>
 The Wrench class implements a task which minimize the error between a desired force and optimized force.
Public Functions
- 
Wrench(const std::string &id, const std::string &distal_link, const std::string &base_link, const AffineHelper &wrench)
 - 
- Parameters
 id –
distal_link – where the force is applied
base_link – wrt the force is expressed (not used)
wrench – NOTE: base_link is not used but is only needed to retrieve information for other computations such as Inverse Dynamics (J’F)
 
- 
bool setReference(const Eigen::VectorXd &ref)
 
- 
void getReference(Eigen::VectorXd &ref)
 
- 
const std::string &getDistalLink() const
 
- 
const std::string &getBaseLink() const
 
Protected Functions
- 
virtual void _update()
 Updates the A, b, Aeq, beq, Aineq, b*Bound matrices.
- 
Wrench(const std::string &id, const std::string &distal_link, const std::string &base_link, const AffineHelper &wrench)