-
Notifications
You must be signed in to change notification settings - Fork 32
Setting up your simulator
Miles Cobb edited this page Apr 8, 2019
·
29 revisions
Setting up a Vagrant simulator
- Git
Leave line endings untouchedgit config --global core.autocrlf false
- Install VirtualBox for your OS
- Install Vagrant for your OS
- Clone the autopilot repository
git clone https://github.com/ArduPilot/ardupilot.git
- Within the ardupilot directory add the following lines to your vagrantfile before the final "end"
config.vm.network "forwarded_port", guest: 5760, host: 5760, protocol: "tcp"
config.vm.network "forwarded_port", guest: 5761, host: 5761, protocol: "tcp"
config.vm.network "forwarded_port", guest: 5762, host: 5762, protocol: "tcp"
config.vm.network "forwarded_port", guest: 5763, host: 5763, protocol: "tcp" - Launch vagrant
vagrant up
- Initialize submodules
vagrant ssh
cd /vagrant
git submodule update --init --recursive
exit
- Launch your virtual machine
vagrant up
from within the ardupilot/Tools/vagrant directory - Start your simulator
vagrant ssh -c "sim_vehicle.py -j 2 -v ArduCopter"
- Project Overview
- Dependency List
- GCS JSON Message Formatting
- Dronekit mission_basic.py
- Continuous Integration with Travis
- Engineering Requirements
- Test Hierarchy
- Style Guide
- Glossary