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
|
2019-03-07 19:47:27 -04:00
|
|
|
export PATH=$PATH:$HOME/jsbsim/build/src
|
2018-02-05 22:23:00 -04:00
|
|
|
export BUILDLOGS=/tmp/buildlogs
|
|
|
|
|
2015-01-20 15:51:19 -04:00
|
|
|
export APMROOT=/vagrant
|
2020-04-27 03:13:58 -03:00
|
|
|
new=$HOME/.local/bin
|
|
|
|
case ":${PATH:=$new}:" in
|
|
|
|
*:"$new":*) ;;
|
|
|
|
*) if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
export PATH="$new:$PATH"
|
|
|
|
fi ;;
|
|
|
|
esac
|
|
|
|
|
2015-01-20 15:51:19 -04:00
|
|
|
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"
|
2018-11-20 06:25:55 -04:00
|
|
|
echo " ./waf configure --board=Pixhawk1"
|
2018-02-07 23:04:34 -04:00
|
|
|
echo " ./waf build --target=bin/arducopter"
|