You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
733 B
27 lines
733 B
#!/bin/bash |
|
|
|
set -e |
|
|
|
echo "Initial setup of SITL-vagrant instance." |
|
sudo apt-get -y update |
|
sudo apt-get -y install dos2unix python-wxgtk2.8 python-scipy python-matplotlib python-opencv python-pip g++ g++-4.7 gawk git ccache python-serial python-wxgtk2.8 python-lxml screen |
|
|
|
sudo pip install pymavlink MAVProxy |
|
|
|
echo "source /vagrant/Tools/vagrant/shellinit.sh" >>/home/vagrant/.profile |
|
rm /home/vagrant/.screenrc |
|
ln -s /vagrant/Tools/vagrant/screenrc /home/vagrant/.screenrc |
|
|
|
# build JSB sim |
|
pushd /tmp |
|
rm -rf jsbsim |
|
git clone git://github.com/tridge/jsbsim.git |
|
sudo apt-get install -y libtool automake autoconf libexpat1-dev |
|
cd jsbsim |
|
./autogen.sh |
|
make -j2 |
|
sudo make install |
|
popd |
|
|
|
# Now you can run |
|
# vagrant ssh -c "screen -d -R" |