Browse Source

Spawn at different height for multivehicle simulation

This commit fixes the spawn location of the multivehicle gazebo sitl script
master
Jaeyoung-Lim 3 years ago committed by Nuno Marques
parent
commit
ee98a3336d
  1. 2
      Tools/gazebo_sitl_multiple_run.sh

2
Tools/gazebo_sitl_multiple_run.sh

@ -39,7 +39,7 @@ function spawn_model() {
echo "Spawning ${MODEL}_${N} at ${X} ${Y}" 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 popd &>/dev/null

Loading…
Cancel
Save