scripts: Don't build Gazebo plugins from PX4

This commit is contained in:
Alexey Rogachevskiy
2020-05-26 21:53:32 +03:00
parent 3099889272
commit 49074a3ed2

View File

@@ -27,10 +27,9 @@ echo "${PASSWROD}" | sudo -E -S sed -i -e '/^assistive_technologies=/s/^/#/' /et
echo "--- Prebuilding PX4 SITL configuration" echo "--- Prebuilding PX4 SITL configuration"
make -C /home/clever/Firmware px4_sitl make -C /home/clever/Firmware px4_sitl
echo "--- Patching and building gazebo plugins for SITL" echo "--- Patching gazebo plugins for SITL"
sed -i 's/TRUE/true/g' /home/clever/Firmware/Tools/sitl_gazebo/include/gazebo_opticalflow_plugin.h sed -i 's/TRUE/true/g' /home/clever/Firmware/Tools/sitl_gazebo/include/gazebo_opticalflow_plugin.h
echo 'export SVGA_VGPU10=0' >> /home/clever/Firmware/Tools/setup_gazebo.bash echo 'export SVGA_VGPU10=0' >> /home/clever/Firmware/Tools/setup_gazebo.bash
make -C /home/clever/Firmware px4_sitl sitl_gazebo
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
echo "source /home/clever/catkin_ws/devel/setup.bash" >> ~/.bashrc echo "source /home/clever/catkin_ws/devel/setup.bash" >> ~/.bashrc