From 13ecba650835aff55509983af313d1b404793dab Mon Sep 17 00:00:00 2001 From: Burak Ozter Date: Wed, 4 Dec 2024 11:50:08 -0400 Subject: [PATCH] remove unused sh file --- guiTools/spawn_drones.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 guiTools/spawn_drones.sh diff --git a/guiTools/spawn_drones.sh b/guiTools/spawn_drones.sh deleted file mode 100644 index a5429c3..0000000 --- a/guiTools/spawn_drones.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -set -e #PR #6 -source /opt/ros/$ROS_DISTRO/setup.bash - -if [[ -z $SIM_DRONE_COUNT ]] -then - echo "SIM_DRONE_COUNT environment variable is not set." - exit 1 -fi - -gz sim -v -r $WORLD_FILE_NAME & -while true -do - topics=$(gz topic -l) - if [[ $topics == *"/world/$WORLD_NAME"* ]] - then - break - fi - sleep 1 -done - -cd /ardupilot_gazebo/models/$DRONE_MODEL -for (( j=0; j<$SIM_DRONE_COUNT; j++ )); -do - xacro -v gstreamer_udp_port:=$(($GSTREAMER_UDP_PORT + ($j * 10))) fdm_port_in:=$(($FDM_PORT_IN + ($j * 10))) model.xacro.sdf -o model.sdf - #! string is better than using -file option. File is not up to date in the next iteration. - value=$(