174high / mini-cheetah-pybullet

mpc and wbc for mini cheetah in pybullet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini cheetah pybullet

mpc and wbc for mini cheetah in pybullet

mpc forked from https://github.com/Derek-TH-Wang/quadruped_ctrl

we added the wbc

System requirements: Ubuntu 16.04 ros Kinetic

Ubuntu 18.04 ros Melodic

python3 pybullet numpy

Running:

run the controller in simulator:

1.roscore

2.rosrun quadruped_ctrl walking_simulation.py

3.roslaunch quadruped_ctrl quadruped_ctrl.launch

stand: 4.rosservice call /robot_mode "cmd: 1"

5.rosservice call /robot_mode "cmd: 4"

you can switch the gait type:

6.rosservice call /gait_type "cmd: 9"

gait type:

1:bunding

2:pronking

3:random

4:standing

5:trotRunning

6:random2

7:galloping

8:pacing

9:trot (same as 0)

10:walking

11:walking2

About

mpc and wbc for mini cheetah in pybullet

License:MIT License


Languages

Language:C++ 61.8%Language:C 33.8%Language:CMake 1.8%Language:Python 0.8%Language:Julia 0.7%Language:Makefile 0.7%Language:Shell 0.2%Language:Objective-C 0.2%Language:Batchfile 0.2%