21 const std::vector<control_toolbox::Pid*>& pid_legs,
const std::vector<control_toolbox::Pid*>& pid_thetas);
22 void execute(
const ros::Time& time,
const ros::Duration& period)
override;
23 const char*
name()
const override
34 void detectLegState(
const Eigen::Matrix<double, STATE_DIM, 1>& x,
LegOrientation& leg_state);
35 inline LegCommand computePidLegCommand(
double desired_length,
double desired_angle,
const VMCPtr& vmc_,
36 control_toolbox::Pid& length_pid, control_toolbox::Pid& angle_pid,
37 control_toolbox::Pid& angle_vel_pid,
const LegOrientation& leg_state,
38 const ros::Duration& period,
double& feedforward_force);
40 std::vector<hardware_interface::JointHandle*> joint_handles_;
41 std::vector<control_toolbox::Pid*> pid_legs_, pid_thetas_;
43 std::shared_ptr<LegStateThresholdParams> leg_state_threshold_;
Upstairs(BipedalControllerInterface *controller_, const std::vector< hardware_interface::JointHandle * > &joint_handles, const std::vector< control_toolbox::Pid * > &pid_legs, const std::vector< control_toolbox::Pid * > &pid_thetas)
Definition upstairs.cpp:11