-
Notifications
You must be signed in to change notification settings - Fork 32
Setting up your simulator
Lucas Young edited this page Apr 13, 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
- Run
vagrant up
in the ardupilot directory - cd into ArduPlane
- vagrant ssh
- sim_vehicle.py -l 35.328423,-120.752505,580,0 -j4 -f quadplane --console --map
- Project Overview
- Dependency List
- GCS JSON Message Formatting
- Dronekit mission_basic.py
- Continuous Integration with Travis
- Engineering Requirements
- Test Hierarchy
- Style Guide
- Glossary