Betaloop is a flight simulator with the goal of providing accurate
and realistic flight performance primarily to be used in hardware/software in the loop testing for UAVs. This specific
implementation is for testing the
Betaflight flight controller in
Gazebo.

collection of programs and scripts with the
- Uses real flight control firmware (Betaflight)
- Supports first person view (FPV) flight
- Use your own radio controller!
- Gazebo 8
- Aeroloop Gazebo resources
- Betaflight compiled for SITL
- Python3
- VidRecv
- MSP virtual radio
For required software part of Aeroloop make sure to follow the install instructions specified by their respective README file. For ease of use, add your arguments to config.txt, if needed these can be overridden by command line arguments.
Run the script to start the simulator,
python3 start.py
When Betaflight is started a .bin is created and the configuration settings are saved here. This is saved in the current directory. Be careful as this can currently cause a .bin to be overwritten if testing multiple builds.
This will be changed in the future so they match however current mappings are,
Gazebo
Rotor 0 = Front Right Rotor 1 = Back Left Rotor 2 = Front Left Rotor 3 = Back Right
Standard BF Mixer
Rotor 0 = Back Right Rotor 1 = Front Right Rotor 2 = Back Left Rotor 3 = Front Left