mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 11:13:34 +08:00
fix the problem related to sitl multiple vehicle environment
This commit is contained in:
@@ -126,6 +126,7 @@ else
|
|||||||
|
|
||||||
m=0
|
m=0
|
||||||
while [ $m -lt ${target_number} ]; do
|
while [ $m -lt ${target_number} ]; do
|
||||||
|
export PX4_SIM_MODEL=${target_vehicle}${LABEL}
|
||||||
spawn_model ${target_vehicle} $n $target_x $target_y
|
spawn_model ${target_vehicle} $n $target_x $target_y
|
||||||
m=$(($m + 1))
|
m=$(($m + 1))
|
||||||
n=$(($n + 1))
|
n=$(($n + 1))
|
||||||
|
|||||||
Reference in New Issue
Block a user