From ee98a3336de0a71d562391b9e8a43ffeeaf47710 Mon Sep 17 00:00:00 2001 From: Jaeyoung-Lim Date: Mon, 24 Jan 2022 01:46:54 +0100 Subject: [PATCH] Spawn at different height for multivehicle simulation This commit fixes the spawn location of the multivehicle gazebo sitl script --- Tools/gazebo_sitl_multiple_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/gazebo_sitl_multiple_run.sh b/Tools/gazebo_sitl_multiple_run.sh index 793fc28b73..292272e2bd 100755 --- a/Tools/gazebo_sitl_multiple_run.sh +++ b/Tools/gazebo_sitl_multiple_run.sh @@ -39,7 +39,7 @@ function spawn_model() { echo "Spawning ${MODEL}_${N} at ${X} ${Y}" - gz model --spawn-file=/tmp/${MODEL}_${N}.sdf --model-name=${MODEL}_${N} -x ${X} -y ${Y} -z 0.0 + gz model --spawn-file=/tmp/${MODEL}_${N}.sdf --model-name=${MODEL}_${N} -x ${X} -y ${Y} -z 0.83 popd &>/dev/null