forked from Archive/PX4-Autopilot
Make more space between vehicles
This commit is contained in:
parent
0324889cf7
commit
528141a78e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue