#include <sobec/flexibility_compensation.hpp>
◆ Flex() [1/2]
◆ Flex() [2/2]
◆ computeDeflection()
Computes the deflection expected for certain flexing torque according to:
delta = (delta0 * damping - torques * dt) * inverse(stiffness * dt + damping)
◆ correctDeflections()
Arguments:
leftFlexTorque and rightFlexingTorque are composed as {pitch_torque, roll_torque}
q and dq are the robot posture and velocities without the freeFlyer part.
leftHipIndices and rightHipIndices indicate the hip joints for both q, and dq.
- Todo:
- : Do we include an option to choose between filtered / not filtered?
◆ correctEstimatedDeflections()
Arguments:
desired torque are the values commanded by the controller.
q and dq are the robot posture and velocities without the freeFlyer part.
leftHipIndices and rightHipIndices indicate the hip joints for both q, and dq.
◆ getSettings()
◆ initialize()
void sobec::Flex::initialize |
( |
const FlexSettings & |
settings | ) |
|
◆ resetLeftFlex0()
void sobec::Flex::resetLeftFlex0 |
( |
| ) |
|
|
inline |
◆ resetRightFlex0()
void sobec::Flex::resetRightFlex0 |
( |
| ) |
|
|
inline |
◆ setLeftFlex0()
void sobec::Flex::setLeftFlex0 |
( |
const eVector2 & |
delta0 | ) |
|
|
inline |
◆ setRightFlex0()
void sobec::Flex::setRightFlex0 |
( |
const eVector2 & |
delta0 | ) |
|
|
inline |
The documentation for this class was generated from the following files: