Tools: autotest: rename clear_mission to clear_mission_using_mavproxy

This commit is contained in:
Peter Barker 2019-08-06 13:27:58 +10:00 committed by Peter Barker
parent bca35ac469
commit acf6cb8d75
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ class AutoTestCopter(AutoTest):
# fly a square in alt_hold mode
def fly_square(self, side=50, timeout=300):
self.clear_mission()
self.clear_mission_using_mavproxy()
self.takeoff(10)

View File

@ -1940,7 +1940,7 @@ class AutoTest(ABC):
def check_sitl_reset(self):
self.wait_heartbeat()
self.clear_mission()
self.clear_mission_using_mavproxy()
if self.armed():
self.progress("Armed at end of test; force-rebooting SITL")
self.disarm_vehicle(force=True)
@ -2788,7 +2788,7 @@ class AutoTest(ABC):
if m is None:
raise NotAchievedException("Requested CAMERA_FEEDBACK did not arrive")
def clear_mission(self):
def clear_mission_using_mavproxy(self):
self.mavproxy.send("wp clear\n")
self.mavproxy.send('wp list\n')
self.mavproxy.expect('Requesting [0-9]+ waypoints')