π Building ArduPilot SITL on Ubuntu 24.04 (Noble)
Instructions to clone, build, and run ArduCopter SITL on Ubuntu 24.04.2 LTS (noble).
Check your system version using
lsb_release -a
- Clone the ArduPilot Repository
git clone https://github.com/ArduPilot/ardupilot
cd ardupilot
git submodule init
git submodule update --recursive
- Run the provided script to install prerequisites:
Tools/environment_install/install-prereqs-ubuntu.sh -y
. ~/.profile
- Configure the Build System Configure for Software-In-The-Loop (SITL) with the SITL board:
./waf configure --board=sitl
- Build ArduCopter SITL Compile ArduCopter:
./waf copter #plane, rover
- Launch SITL Use sim_vehicle.py to run the simulator:
./sim_vehicle.py -v ArduCopter -f copter --console --map -N
Flags explained: -v ArduCopter: Select the firmware type
-f copter: physics model to be used
βconsole: Launch MAVProxy console
βmap: Launch MAVProxy map
-N: Skip firmware rebuild (ignore this argument if your building for the first time)