From bc5d55c4a4d2dd33145a41fa1cc32740cc25cd59 Mon Sep 17 00:00:00 2001 From: stmoon Date: Fri, 1 Oct 2021 00:36:23 +0000 Subject: [PATCH] fix the problem related to sitl multiple vehicle environment --- Tools/gazebo_sitl_multiple_run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/gazebo_sitl_multiple_run.sh b/Tools/gazebo_sitl_multiple_run.sh index 22761febc3..6c6b638175 100755 --- a/Tools/gazebo_sitl_multiple_run.sh +++ b/Tools/gazebo_sitl_multiple_run.sh @@ -126,6 +126,7 @@ else m=0 while [ $m -lt ${target_number} ]; do + export PX4_SIM_MODEL=${target_vehicle}${LABEL} spawn_model ${target_vehicle} $n $target_x $target_y m=$(($m + 1)) n=$(($n + 1))