mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 10:38:28 -04:00
autotest: removed the --wind options
SIM_WIND_* options now control wind
This commit is contained in:
parent
dcbd0fbd44
commit
d93861f4d2
@ -268,7 +268,7 @@ def main_loop():
|
||||
|
||||
# only simulate wind above 5 meters, to prevent crashes while
|
||||
# waiting for takeoff
|
||||
if tnow - last_wind_update > 0.1 and fdm.get('agl', units='meters') > 2:
|
||||
if tnow - last_wind_update > 0.1:
|
||||
update_wind(wind)
|
||||
last_wind_update = tnow
|
||||
|
||||
|
@ -14,7 +14,7 @@ gnome-terminal -e /tmp/ArduPlane.build/ArduPlane.elf
|
||||
#gnome-terminal -e "valgrind -q /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
sleep 2
|
||||
rm -f $tfile
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2'
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270'
|
||||
sleep 2
|
||||
popd
|
||||
mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
|
||||
|
@ -14,7 +14,7 @@ gnome-terminal -e /tmp/ArduPlane.build/ArduPlane.elf
|
||||
#gnome-terminal -e "valgrind -q /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
sleep 2
|
||||
rm -f $tfile
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2'
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270'
|
||||
sleep 2
|
||||
popd
|
||||
mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --mav10
|
||||
|
@ -17,7 +17,7 @@ gnome-terminal -e /tmp/ArduPlane.build/ArduPlane.elf
|
||||
#gnome-terminal -e "valgrind -q /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
sleep 2
|
||||
rm -f $tfile
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-26.582218,151.840113,440.3,169 --wind=5,180,0'
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-26.582218,151.840113,440.3,169'
|
||||
sleep 2
|
||||
popd
|
||||
mavproxy.py --aircraft=test --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
|
||||
|
Loading…
Reference in New Issue
Block a user