From 7f5fa3d1f7cb21fd6a4cd5ee4cf1976b0f321200 Mon Sep 17 00:00:00 2001 From: Max Elfgen Date: Fri, 19 Nov 2021 19:00:41 +0100 Subject: [PATCH] Using RTPS as a label resulted in the PX4 instance crashing. Removing the label fixed the problem. --- Tools/gazebo_sitl_multiple_run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/gazebo_sitl_multiple_run.sh b/Tools/gazebo_sitl_multiple_run.sh index bdead0545e..793fc28b73 100755 --- a/Tools/gazebo_sitl_multiple_run.sh +++ b/Tools/gazebo_sitl_multiple_run.sh @@ -69,7 +69,7 @@ num_vehicles=${NUM_VEHICLES:=3} world=${WORLD:=empty} target=${TARGET:=px4_sitl_default} vehicle_model=${VEHICLE_MODEL:="iris"} -export PX4_SIM_MODEL=${vehicle_model}${LABEL} +export PX4_SIM_MODEL=${vehicle_model} echo ${SCRIPT} SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -126,7 +126,7 @@ else m=0 while [ $m -lt ${target_number} ]; do - export PX4_SIM_MODEL=${target_vehicle}${LABEL} + export PX4_SIM_MODEL=${target_vehicle} spawn_model ${target_vehicle}${LABEL} $n $target_x $target_y m=$(($m + 1)) n=$(($n + 1))