mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: increase timeout for GCSMission upload test
MAVProxy may not have gotten all of the waypoints uploaded in 5 seconds.
This commit is contained in:
parent
481e0301dd
commit
0cf357eb51
@ -3696,7 +3696,7 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
||||
# oldalt = downloaded_items[changealt_item].z
|
||||
want_newalt = 37.2
|
||||
mavproxy.send('wp changealt %u %f\n' % (changealt_item, want_newalt))
|
||||
self.delay_sim_time(5)
|
||||
self.delay_sim_time(15)
|
||||
downloaded_items = self.download_using_mission_protocol(mavutil.mavlink.MAV_MISSION_TYPE_MISSION)
|
||||
if abs(downloaded_items[changealt_item].z - want_newalt) > 0.0001:
|
||||
raise NotAchievedException(
|
||||
|
Loading…
Reference in New Issue
Block a user