ArduPilot & SITL
is a simulator that allows you to run ArduPilot on your PC without any special hardware. It is a build of the autopilot code using an ordinary C++ compiler, giving you a native executable that allows
Versioning Warning:
Might need Gazebo Garden
Installation Instructions [1]
Open the terminal with Ctrl + Alt + T
sudo apt-get update
sudo apt-get install git
sudo apt-get install gitk git-guigit clone --recurse-submodules https://github.com/ArduPilot/ardupilot.gitNote: this takes a minute
cd ardupilotTools/environment_install/install-prereqs-ubuntu.sh -yNote: this takes a minute
. ~/.profileSITL Set up [2]
cd ~/ardupilot/ArduCoptersim_vehicle.py -wNote: this is only ran once right after installing
wait until [ 0/1195] completes
Pop up will show of command line "Setting SIM_SPEEDUP=1.0000 ...."
Once done, hit (Ctrl + C) or (Ctrl + D) to stop program
Console, Map, ArduCopter with 'X' will pop up
hit (Ctrl + C) or (Ctrl + D) to stop program
Set up Gazebo with SITL
create workspace and clone repo
Note: this is where you will launch "gz sim etc.."
Build the plugin
Note: need to run following two before sim (every time)
Sources
[1] ArduPilot Setup on Linux (Note: Finished at "Cleaning" step) [2] SITL Setup [x] ArduPilot SITL Tutorial
Last updated