This project builds and runs docker containers that contain ArduPilot SITL and Mission Planner, allowing to easily run them on any computer.
- Linux PC (Ubuntu 20.04 recommended)
- Docker
- Docker non-root
- docker-compose
- First we have to build the images:
- Run the following command:
docker-compose -f .docker-compose.root.yml -f compose/dev_environment.docker-compose.yml build \ && docker-compose -f .docker-compose.root.yml -f compose/drones/dev.docker-compose.sitl.yml build
- Get yourself a cup of
tea
,coffee
or aquad long shot grande frappuchino in a venti cup half calf double cupped no sleeve salted caramel mocha latte with 2 pumps of vanilla substitute 2 pumps of white chocolate mocha for mocha and substitute 2 pumps of hazelnut for toffee nut half whole milk and half breve with no whipped cream extra hot extra foam extra caramel drizzle extra salt add a scoop of vanilla bean powder with light ice well stirred
, or take a nap, whatever works for you.
- Run
run_simulation.sh
- To connect mission planner to SITL:
- Use TCP connection
- Keep the baudrate at default (115200)
- "ip" is "sitl" (docker-compose takes care of resolving
sitl
the ip of the container). - "port" is 5762