Spawn at different height for multivehicle simulation

This commit fixes the spawn location of the multivehicle gazebo sitl script
This commit is contained in:
Jaeyoung-Lim
2022-01-24 01:46:54 +01:00
committed by Nuno Marques
parent 07e6c274d5
commit ee98a3336d
+1 -1
View File
@@ -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