fix the problem related to sitl multiple vehicle environment

This commit is contained in:
stmoon 2021-10-01 00:36:23 +00:00 committed by JaeyoungLim
parent 68a13326f0
commit bc5d55c4a4
1 changed files with 1 additions and 0 deletions

View File

@ -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))