forked from Archive/PX4-Autopilot
Spawn at different height for multivehicle simulation
This commit fixes the spawn location of the multivehicle gazebo sitl script
This commit is contained in:
parent
07e6c274d5
commit
ee98a3336d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue