forked from Archive/PX4-Autopilot
fix the problem related to sitl multiple vehicle environment
This commit is contained in:
parent
68a13326f0
commit
bc5d55c4a4
|
@ -126,6 +126,7 @@ else
|
|||
|
||||
m=0
|
||||
while [ $m -lt ${target_number} ]; do
|
||||
export PX4_SIM_MODEL=${target_vehicle}${LABEL}
|
||||
spawn_model ${target_vehicle} $n $target_x $target_y
|
||||
m=$(($m + 1))
|
||||
n=$(($n + 1))
|
||||
|
|
Loading…
Reference in New Issue