|
rm_controllers
|
Classes | |
| class | ActiveSuspensionController |
| class | BalanceController |
| struct | BiasParams |
| class | BipedalController |
| class | BipedalControllerInterface |
| class | ChassisBase |
| struct | ChassisGeometryParams |
| struct | ChassisState |
| struct | Command |
| struct | ControlParams |
| class | FiveLinkVMC |
| struct | LegCommand |
| struct | LegForce |
| struct | LegPos |
| struct | LegSpd |
| struct | LegState |
| struct | LegStateThresholdParams |
| struct | LQRConfig |
| class | ModeBase |
| struct | ModelParams |
| class | ModeManager |
| struct | Module |
| class | Normal |
| class | OmniController |
| struct | PowerLimitor |
| class | Protect |
| class | Recover |
| class | SentryController |
| class | SitDown |
| struct | SpringParams |
| class | StandUp |
| class | SwerveController |
| class | TwoLinkVMC |
| class | Upstairs |
| class | VMC |
| class | VMCController |
Typedefs | |
| using | VMCPtr = std::shared_ptr<VMC> |
Enumerations | |
| enum class | State { DOWN = 0 , MID = 1 , UP = 2 } |
| enum | LegOrientation { UNDER , FRONT , BEHIND } |
| enum | JumpPhase { LEG_RETRACTION , JUMP_UP , OFF_GROUND , IDLE } |
| enum | BalanceMode { NORMAL , STAND_UP , SIT_DOWN , RECOVER , UPSTAIRS , PROTECT } |
| enum | Side { LEFT = 0 , RIGHT } |
| enum | { WHEEL_T = 0 , LEG_Tp } |
| enum | { THETA = 0 , D_THETA , POS , VEL , PITCH , D_PITCH } |
Functions | |
| void | generateAB (const std::shared_ptr< ModelParams > &model_params, Eigen::Matrix< double, STATE_DIM, STATE_DIM > &a, Eigen::Matrix< double, STATE_DIM, CONTROL_DIM > &b, double leg_length) |
| void | setJointCommands (std::vector< hardware_interface::JointHandle * > &joints, const LegCommand &left_cmd, const LegCommand &right_cmd, double wheel_left=0., double wheel_right=0.) |
| void | quatToRPY (const geometry_msgs::Quaternion &q, double &roll, double &pitch, double &yaw) |
| void | clamp (double &val, const double &minVal, const double &maxVal) |
Variables | |
| constexpr std::array< std::pair< JumpPhase, const double >, 3 > | jumpLengthDes |
| using rm_chassis_controllers::VMCPtr = std::shared_ptr<VMC> |
|
strong |
|
inline |
|
inline |
Generate continuous-time state space matrices A and B
| model_params | |
| a | |
| b | |
| leg_length |
|
inline |
Convert quaternion to roll, pitch, yaw
| q | |
| roll | |
| pitch | |
| yaw |
|
inline |
Set joint commands to the joint handles
| joints | |
| left_cmd | |
| right_cmd | |
| wheel_left | |
| wheel_right |
|
constexpr |