qiayuanl / legged_control

Nonlinear MPC and WBC framework for legged robot based on OCS2 and ros-controls
BSD 3-Clause "New" or "Revised" License
854 stars 217 forks source link

real robot stand-up steps #43

Closed elpimous closed 10 months ago

elpimous commented 1 year ago

Hi all, Trying to standup my robot (not a unitree one),

1/ run the robot hardware : roslaunch legged_unitree_hw legged_unitree_hw.launch

2/ run the controller : roslaunch legged_controllers load_controller.launch

3/ run the legged_controller :

rosservice call /controller_manager/switch_controller "start_controllers: ['controllers/legged_controller']                   
stop_controllers: ['']
strictness: 0
start_asap: false
timeout: 0.0" 

In this step, legs are moving, and shaking !!

question1 / Do legs want to reach initial pose ? Where to modify the pose ?

question2 / The robot shouldn't move, until I send the rostopic pub -1 /cmd_vel..., correct ?

elpimous commented 1 year ago

Legs shouldn't move before the cmd_vel command. (for legs extention) why do they move? Params in reference and task info are for robot up. could it be a Urdf bad value?

elpimous commented 1 year ago

Please help guys. Anyone. need to have a work direction. thanks

elpimous commented 1 year ago

urdf ok ! same problem : here is my rviz topics : Capture d’écran de 2023-06-15 22-40-31 Capture d’écran de 2023-06-15 22-40-34

elpimous commented 1 year ago

Small up, friends ?

elpimous commented 11 months ago

UP please @qiayuanliao @LoveThinkinghard

elpimous commented 10 months ago

solved, problem of unsigned fftorque !