From fc52a3522f3e25fd543948cdedea8ff073c50767 Mon Sep 17 00:00:00 2001 From: Burak Ozter Date: Mon, 28 Oct 2024 09:50:49 -0300 Subject: [PATCH] add missing variable from .env file. --- guiTools/spawn_drones.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=$(