Skip to content

Commit

Permalink
Tools: Vagrant: modify test instructions to make copy of arudpilot
Browse files Browse the repository at this point in the history
makes the compilations faster, and frees up the original directory for other things...
  • Loading branch information
peterbarker committed Feb 26, 2025
1 parent 5d053d6 commit 7286813
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@
# sim_vehicle.py --map --console # in the starting directory should start a Copter simulation
# sim_vehicle.py --debug --gdb
# sim_vehicle.py --debug --valgrind
# time (cd /vagrant && ./waf configure --board=fmuv2 && ./waf build --target=bin/ardusub) # ~9 minutes
# time (cd /vagrant && ./waf configure --board=fmuv3 && ./waf build --target=bin/ardusub) # ~ minutes (after building fmuv2)
# time (cd /vagrant && ./waf configure --board=navio2 && ./waf build --target=bin/arduplane)
# time (cd /vagrant && ./Tools/autotest/sim_vehicle.py --map --console -v ArduPlane -f jsbsim) # should test JSBSim
# time (cd /vagrant && ./Tools/autotest/autotest.py build.Rover test.Rover)
#
# Make testing rather faster:
# time rsync -aPH /vagrant/ $HOME/ardupilot # real 8m13.712s
# time (cd $HOME/ardupilot && ./waf configure --board=fmuv2 && ./waf build --target=bin/ardusub) # ~9 minutes
# time (cd $HOME/ardupilot && ./waf configure --board=fmuv3 && ./waf build --target=bin/ardusub) # ~ minutes (after building fmuv2)
# time (cd $HOME/ardupilot && ./waf configure --board=navio2 && ./waf build --target=bin/arduplane)
# time (cd $HOME/ardupilot && ./Tools/autotest/sim_vehicle.py --map --console -v ArduPlane -f jsbsim) # should test JSBSim
# time (cd $HOME/ardupilot && ./Tools/autotest/autotest.py build.Rover test.Rover)

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Expand Down

0 comments on commit 7286813

Please sign in to comment.