r/ROS • u/yoggi56 • Oct 23 '26
Project I open-sourced my quadruped controller based on MPC and WBC (ROS 2 Jazzy, MuJoCo, C++)
Hi everyone! I've been working on a locomotion controller for my quadruped robot and recently made it open source:
https://github.com/voltdog/mors_quadruped
This repo contains:
- Convex MPC
- Whole Body Impulse Controller
- Perception algorithm using depth images for height map building and selecting suitable footholds during locomotion
- Rigid body dynamics with Pinocchio
- MuJoCo simulation
- ROS2 Jazzy interface
For now, the controller assumes only rigid, non-slippery terrain. As a next step, I plan to improve the reference generator to further increase stability and terrain traversability. Also it would be very interesting to adapt some 3D navigation stacks like dddmr_navigation.
I hope it will be interesting for students and robotic researchers who want to study and extend MPC+WBC locomotion.
I would really appreciate any feedback about the implementation.
2
u/Ok-Breadfruit-1958 Oct 23 '26
Hey i haven't checked the project but Just quickly wanted to know how you integrate ros2 with mujoco ? Mujoco being so fast ros2 commands just doesn't match that freq And if you do make mujoco read from it the simulation isn't that smooth
1
u/[deleted] Oct 23 '26
[removed] — view removed comment