forked from cesar.alejandro/oscillation_ctrl
Update 'px4_setup/px4setup.sh'
This commit is contained in:
parent
a61954f3d0
commit
427afafdbc
|
@ -105,17 +105,17 @@ echo $pass | sudo -S update-alternatives --set java $(update-alternatives --list
|
|||
#Setting up PX4 Firmware
|
||||
if [ ! -d "${HOME}/Firmware" ]; then
|
||||
cd ${HOME}
|
||||
git clone https://github.com/PX4/Firmware.git --recursive
|
||||
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
|
||||
else
|
||||
echo "Firmware already exists. Just pulling latest upstream...."
|
||||
cd ${HOME}/Firmware
|
||||
git pull
|
||||
fi
|
||||
cd ${HOME}/Firmware
|
||||
cd ${HOME}/PX4-Autopilot
|
||||
make clean && make distclean
|
||||
#git checkout v1.10.1 && git submodule update --recursive
|
||||
git checkout v1.11.2 && git submodule update --recursive
|
||||
#git submodule update --recursive
|
||||
#git checkout v1.11.2 && git submodule update --recursive
|
||||
git submodule update --recursive
|
||||
|
||||
#cd ${HOME}/Firmware/Tools/sitl_gazebo/external/OpticalFlow && git submodule update --recursive # this is needed for PX4 v1.10.1
|
||||
# cd ${HOME}/Firmware/Tools/sitl_gazebo/external/OpticalFlow/external/klt_feature_tracker && git submodule update --recursive # this is needed for PX4 v1.10.1
|
||||
|
|
Loading…
Reference in New Issue