diff --git a/guiTools/spawn_drones.sh b/guiTools/spawn_drones.sh index 70a4ca4..48b4473 100644 --- a/guiTools/spawn_drones.sh +++ b/guiTools/spawn_drones.sh @@ -21,7 +21,7 @@ fi cd ./models/$DRONE_MODEL for (( j=0; j<$SIM_DRONE_COUNT; j++ )); do - xacro -v fdm_port_in:=$((9002 + ($j * 10))) model.xacro.sdf -o model.sdf + xacro -v fdm_port_in:=$(($FDM_PORT_IN + ($j * 10))) model.xacro.sdf -o model.sdf value=$(