2015-01-20 15:51:19 -04:00
|
|
|
# Init that is run every time a new session starts up
|
|
|
|
|
2018-02-05 22:23:00 -04:00
|
|
|
# This allows the PX4NuttX build to proceed when the underlying fs is on windows
|
|
|
|
# It is only marginally less efficient on Linux
|
|
|
|
export PX4_WINTOOL=y
|
|
|
|
export PATH=$PATH:$HOME/jsbsim/src
|
|
|
|
export BUILDLOGS=/tmp/buildlogs
|
|
|
|
|
2015-01-20 15:51:19 -04:00
|
|
|
export APMROOT=/vagrant
|
|
|
|
export PATH=$APMROOT/Tools/autotest:$PATH
|
2018-07-30 01:43:22 -03:00
|
|
|
export PATH=/usr/lib/ccache:$PATH
|
2015-01-20 15:51:19 -04:00
|
|
|
|
|
|
|
cd $APMROOT/ArduCopter
|
|
|
|
|
2016-08-10 16:59:39 -03:00
|
|
|
echo "Ardupilot environment ready. Run 'sim_vehicle.py' to start simulating an arducopter instance."
|
2018-02-07 23:04:34 -04:00
|
|
|
echo "To build for fmuv2:"
|
|
|
|
echo " cd /vagrant"
|
|
|
|
echo " ./waf configure --board=px4-v2"
|
|
|
|
echo " ./waf build --target=bin/arducopter"
|