Requires MuJoCo 2.2.2 or later.
The files consist of simulations of drones in MuJoCo environments.
This package includes a simplified robot description (MJCF) of the Crazyflie 2 model from Bitcraze. It is derived from the publicly available ROS description.
The required packages are included in the Conda environment file. Use this command to create a Conda environment in your system:
conda env create -f environment.yml -
1_drones folder:
- This folder contains a MuJoCo environment featuring a closed-loop PID controller that maintains a drone at a specified height.
- You can modify the PID values and goal positions directly in the
simulate1_v1.pyfile. - The
simulate1_v1.pyfile allows the drone to move in the X, Y, and Z directions by defining the goal position in 3D space. - In contrast, the
simulate1_v2.pyfile focuses solely on the Z-axis, enabling the drone to lift and maintain its position at the desired height while keeping its X and Y coordinates constant.
-
2_drones folder:
- This folder contains the
simulate2.pyfile, which simulates two drones positioned at either end of a slab, with a spherical object balanced in the center. - This setup is designed to mimic a cooperative multi-drone transport system.
- Both drones receive a minimal fly-off thrust, which allows them to lift the slab while keeping the ball balanced in the middle.
- This folder contains the
-
3_drones folder:
- This folder includes the
simulate3.pyfile, which extends the cooperative transport simulation by utilizing three drones instead of two. - The setup mirrors the structure found in the
2_dronesfolder, adapting it for an additional drone to enhance collaborative transport capabilities.
- This folder includes the
-
4_drones folder:
- This folder features the
simulate4.pyfile, showcasing the cooperative transport simulation with four drones. - The setup builds upon the previous configurations, demonstrating how four drones can work together to achieve balanced transport of the slab and the spherical object.
- This folder features the



