#include <sot/talos_balance/distribute-wrench.hh>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | DistributeWrench (const std::string &name) |
Eigen::Vector3d | computeCoP (const dynamicgraph::Vector &wrench, const pinocchio::SE3 &pose) const |
DECLARE_SIGNAL_IN (frictionCoefficient, double) | |
DECLARE_SIGNAL_IN (phase, int) | |
DECLARE_SIGNAL_IN (q, dynamicgraph::Vector) | |
DECLARE_SIGNAL_IN (rho, double) | |
DECLARE_SIGNAL_IN (wAnkle, dynamicgraph::Vector) | |
DECLARE_SIGNAL_IN (wNorm, double) | |
DECLARE_SIGNAL_IN (wRatio, double) | |
DECLARE_SIGNAL_IN (wrenchDes, dynamicgraph::Vector) | |
DECLARE_SIGNAL_IN (wSum, double) | |
DECLARE_SIGNAL_INNER (kinematics_computations, int) | |
DECLARE_SIGNAL_INNER (qp_computations, int) | |
DECLARE_SIGNAL_OUT (ankleWrenchLeft, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (ankleWrenchRight, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (copLeft, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (copRight, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (emergencyStop, bool) | |
DECLARE_SIGNAL_OUT (surfaceWrenchLeft, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (surfaceWrenchRight, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (wrenchLeft, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (wrenchRef, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (wrenchRight, dynamicgraph::Vector) | |
DECLARE_SIGNAL_OUT (zmpRef, dynamicgraph::Vector) | |
virtual void | display (std::ostream &os) const |
void | init (const std::string &robotName) |
void | set_left_foot_sizes (const dynamicgraph::Vector &s) |
void | set_right_foot_sizes (const dynamicgraph::Vector &s) |
Public Attributes | |
double | m_eps |
Protected Member Functions | |
void | computeWrenchFaceMatrix (const double mu) |
void | distributeWrench (const Eigen::VectorXd &wrenchDes, const double rho, const double mu) |
void | saturateWrench (const Eigen::VectorXd &wrenchDes, const int phase, const double mu) |
Protected Attributes | |
Eigen::MatrixXd | m_Aeq1 |
Eigen::MatrixXd | m_Aeq2 |
Eigen::MatrixXd | m_Aineq1 |
Eigen::MatrixXd | m_Aineq2 |
pinocchio::SE3 | m_ankle_M_sole |
Eigen::VectorXd | m_Beq1 |
Eigen::VectorXd | m_Beq2 |
Eigen::VectorXd | m_Bineq1 |
Eigen::VectorXd | m_Bineq2 |
Eigen::VectorXd | m_C1 |
Eigen::VectorXd | m_C2 |
pinocchio::SE3 | m_contactLeft |
pinocchio::SE3 | m_contactRight |
pinocchio::Data | m_data |
Pinocchio robot model. More... | |
bool | m_emergency_stop_triggered |
bool | m_initSucceeded |
pinocchio::FrameIndex | m_left_foot_id |
ankle to sole transformation More... | |
Eigen::Vector4d | m_left_foot_sizes |
pinocchio::Model | m_model |
true if the entity has been successfully initialized More... | |
Eigen::MatrixXd | m_Q1 |
Eigen::MatrixXd | m_Q2 |
eiquadprog::solvers::EiquadprogFast | m_qp1 |
eiquadprog::solvers::EiquadprogFast | m_qp2 |
Eigen::VectorXd | m_result1 |
Eigen::VectorXd | m_result2 |
pinocchio::FrameIndex | m_right_foot_id |
Eigen::Vector4d | m_right_foot_sizes |
RobotUtilShrPtr | m_robot_util |
Pinocchio robot data. More... | |
Eigen::VectorXd | m_wAnkle |
double | m_wNorm |
double | m_wRatio |
Eigen::Matrix< double, 16, 6 > | m_wrenchFaceMatrix |
Eigen::Matrix< double, 6, 1 > | m_wrenchLeft |
Eigen::Matrix< double, 6, 1 > | m_wrenchRight |
double | m_wSum |
Definition at line 58 of file distribute-wrench.hh.
DistributeWrench | ( | const std::string & | name | ) |
Definition at line 68 of file distribute-wrench.cpp.
Eigen::Vector3d computeCoP | ( | const dynamicgraph::Vector & | wrench, |
const pinocchio::SE3 & | pose | ||
) | const |
Definition at line 241 of file distribute-wrench.cpp.
|
protected |
sizes of the left foot (pos x, neg x, pos y, neg y)
Definition at line 226 of file distribute-wrench.cpp.
DECLARE_SIGNAL_IN | ( | frictionCoefficient | , |
double | |||
) |
DECLARE_SIGNAL_IN | ( | phase | , |
int | |||
) |
DECLARE_SIGNAL_IN | ( | q | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_IN | ( | rho | , |
double | |||
) |
DECLARE_SIGNAL_IN | ( | wAnkle | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_IN | ( | wNorm | , |
double | |||
) |
DECLARE_SIGNAL_IN | ( | wRatio | , |
double | |||
) |
DECLARE_SIGNAL_IN | ( | wrenchDes | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_IN | ( | wSum | , |
double | |||
) |
DECLARE_SIGNAL_INNER | ( | kinematics_computations | , |
int | |||
) |
DECLARE_SIGNAL_INNER | ( | qp_computations | , |
int | |||
) |
DECLARE_SIGNAL_OUT | ( | ankleWrenchLeft | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | ankleWrenchRight | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | copLeft | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | copRight | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | emergencyStop | , |
bool | |||
) |
DECLARE_SIGNAL_OUT | ( | surfaceWrenchLeft | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | surfaceWrenchRight | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | wrenchLeft | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | wrenchRef | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | wrenchRight | , |
dynamicgraph::Vector | |||
) |
DECLARE_SIGNAL_OUT | ( | zmpRef | , |
dynamicgraph::Vector | |||
) |
|
virtual |
Definition at line 684 of file distribute-wrench.cpp.
|
protected |
Definition at line 303 of file distribute-wrench.cpp.
void init | ( | const std::string & | robotName | ) |
Definition at line 157 of file distribute-wrench.cpp.
|
protected |
Definition at line 387 of file distribute-wrench.cpp.
void set_left_foot_sizes | ( | const dynamicgraph::Vector & | s | ) |
Definition at line 217 of file distribute-wrench.cpp.
void set_right_foot_sizes | ( | const dynamicgraph::Vector & | s | ) |
Definition at line 209 of file distribute-wrench.cpp.
|
protected |
Definition at line 146 of file distribute-wrench.hh.
|
protected |
Definition at line 158 of file distribute-wrench.hh.
|
protected |
Definition at line 149 of file distribute-wrench.hh.
|
protected |
Definition at line 161 of file distribute-wrench.hh.
|
protected |
Definition at line 120 of file distribute-wrench.hh.
|
protected |
Definition at line 147 of file distribute-wrench.hh.
|
protected |
Definition at line 159 of file distribute-wrench.hh.
|
protected |
Definition at line 150 of file distribute-wrench.hh.
|
protected |
Definition at line 162 of file distribute-wrench.hh.
|
protected |
Definition at line 144 of file distribute-wrench.hh.
|
protected |
Definition at line 156 of file distribute-wrench.hh.
|
protected |
Definition at line 125 of file distribute-wrench.hh.
|
protected |
Definition at line 126 of file distribute-wrench.hh.
|
protected |
Pinocchio robot model.
Definition at line 115 of file distribute-wrench.hh.
|
protected |
Definition at line 176 of file distribute-wrench.hh.
double m_eps |
Definition at line 109 of file distribute-wrench.hh.
|
protected |
Definition at line 113 of file distribute-wrench.hh.
|
protected |
ankle to sole transformation
Definition at line 122 of file distribute-wrench.hh.
|
protected |
Definition at line 131 of file distribute-wrench.hh.
|
protected |
true if the entity has been successfully initialized
Definition at line 114 of file distribute-wrench.hh.
|
protected |
Definition at line 143 of file distribute-wrench.hh.
|
protected |
Definition at line 155 of file distribute-wrench.hh.
|
protected |
Definition at line 139 of file distribute-wrench.hh.
|
protected |
Definition at line 140 of file distribute-wrench.hh.
|
protected |
Definition at line 152 of file distribute-wrench.hh.
|
protected |
Definition at line 164 of file distribute-wrench.hh.
|
protected |
Definition at line 123 of file distribute-wrench.hh.
|
protected |
sizes of the left foot (pos x, neg x, pos y, neg y)
Definition at line 133 of file distribute-wrench.hh.
|
protected |
Pinocchio robot data.
Definition at line 116 of file distribute-wrench.hh.
|
protected |
Definition at line 169 of file distribute-wrench.hh.
|
protected |
Definition at line 167 of file distribute-wrench.hh.
|
protected |
Definition at line 168 of file distribute-wrench.hh.
|
protected |
Definition at line 137 of file distribute-wrench.hh.
|
protected |
Definition at line 128 of file distribute-wrench.hh.
|
protected |
Definition at line 129 of file distribute-wrench.hh.
|
protected |
Definition at line 166 of file distribute-wrench.hh.