From 528141a78e12dee0c70eb0b21fac128e21bd399c Mon Sep 17 00:00:00 2001 From: JaeyoungLim Date: Sun, 29 Dec 2019 15:03:20 +0100 Subject: [PATCH] Make more space between vehicles --- 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 0aaa1f2aaa..b070df4192 100755 --- a/Tools/gazebo_sitl_multiple_run.sh +++ b/Tools/gazebo_sitl_multiple_run.sh @@ -69,7 +69,7 @@ while [ $n -lt $num_vehicles ]; do gz sdf -p /tmp/${PX4_SIM_MODEL}_${n}.urdf > /tmp/${PX4_SIM_MODEL}_${n}.sdf echo "Spawning ${PX4_SIM_MODEL}_${n}" - gz model --spawn-file=/tmp/${PX4_SIM_MODEL}_${n}.sdf --model-name=${PX4_SIM_MODEL}_${n} -x 0.0 -y ${n} -z 0.0 + gz model --spawn-file=/tmp/${PX4_SIM_MODEL}_${n}.sdf --model-name=${PX4_SIM_MODEL}_${n} -x 0.0 -y $((2*${n})) -z 0.0 popd &>/dev/null