From 8c1a07a937822281c321629418e3ba5a48515945 Mon Sep 17 00:00:00 2001 From: scorpio1 Date: Wed, 28 Jun 2023 10:39:58 -0700 Subject: [PATCH] Update 'px4_setup/px4setup.sh' --- px4_setup/px4setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/px4_setup/px4setup.sh b/px4_setup/px4setup.sh index 4837b43..75474f2 100644 --- a/px4_setup/px4setup.sh +++ b/px4_setup/px4setup.sh @@ -4,7 +4,7 @@ grep -xF 'export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/PX4-Autopilot' ${HOME}/.ba grep -xF 'export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/PX4-Autopilot/Tools/sitl_gazebo' ${HOME}/.bashrc || echo "export ROS_PACKAGE_PATH=\$ROS_PACKAGE_PATH:~/PX4-Autopilot/Tools/sitl_gazebo" >> ${HOME}/.bashrc #grep -xF 'export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/home/aaal/catkin_ws/src/swarm_sim/models' ${HOME}/.bashrc || echo "export GAZEBO_MODEL_PATH=\$GAZEBO_MODEL_PATH:/home/aaal/catkin_ws/src/swarm_sim/models" >> ${HOME}/.bashrc grep -xF 'export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins' ${HOME}/.bashrc || echo "export GAZEBO_PLUGIN_PATH=\$GAZEBO_PLUGIN_PATH:/usr/lib/x86_64-linux-gnu/gazebo-9/plugins" >> ${HOME}/.bashrc -echo "cd ~/PX4-Autopilot" >> ${HOME}/.bashrc +cd ~/PX4-Autopilot echo 'source Tools/simulation/gazebo-classic/setup_gazebo.bash $(pwd) $(pwd)/build/px4_sitl_default' >> ${HOME}/.bashrc echo 'export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)' >> ${HOME}/.bashrc echo 'export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/simulation/gazebo-classic/sitl_gazebo-classic' >> ${HOME}/.bashrc