This is a repo for multi agent system simulation built upon MUJOCO. It now has several features:
- Single/multi robots
- Differential-drive Mobile Robot
- A Scene Generator for generating any number of robot and particles
- Sensing
- Top Down Camera Calibration and Detection
- Real-time Contour Reconstruction
- Control
- Keyboard Controller
- PD Controller
- MPC Controller
- Planning
- A* on 2D GridMap
- RRTConnect(ompl)
- kinodynamic RRT(ompl)
- Learning
- Reinforcement Learning
- create your workspace
mkdir ws && cd ws
- clone
git clone git@github.com:KANZEZ/m0.git
- create your own virtual env
python3 -m venv your_env
- in your virtual env, install the packages
pip3 install -e .
-
run some examples in m0/examples folder to see if success
-
if you want to use mpc, please follow the install instruction for acados.
Differential-drive mobile robot.
State: [x, y,
Control input: [v, w]
Dynamics: [$\dot x$, 
A top-down camera is fixed above the playground and can detect the contour of the swarm of particles, and then we use FFT to parametrize and reconstruct the contour.
python3 examples/test_contour_recons.py
- PD control:
python3 examples/test_pid.py
- MPC:
python3 examples/test_mpc.py
- Multi-agent mppi
- Geometry Planning(RRTConnect & A* on grid map)
python3 examples/test_astar.py
python3 examples/test_rrtc.py
- Kinodynamic RRT(consider robot dynamics)
python3 examples/test_kinorrt.py
- RL
python3 examples/test_rl.py






