ardupilot/Tools/vagrant/shellinit.sh

20 lines
635 B
Bash
Raw Normal View History

# Init that is run every time a new session starts up
# 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
export APMROOT=/vagrant
export PATH=$APMROOT/Tools/autotest:$PATH
export PATH=/usr/lib/ccache:$PATH
cd $APMROOT/ArduCopter
echo "Ardupilot environment ready. Run 'sim_vehicle.py' to start simulating an arducopter instance."
echo "To build for fmuv2:"
echo " cd /vagrant"
2018-11-20 06:25:55 -04:00
echo " ./waf configure --board=Pixhawk1"
echo " ./waf build --target=bin/arducopter"