diff --git a/px4_setup/px4setup.sh b/px4_setup/px4setup.sh index 4493592..6129142 100644 --- a/px4_setup/px4setup.sh +++ b/px4_setup/px4setup.sh @@ -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