From b630aeeddf8c1cafcd8c861a21c94556f24f1d19 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 8 Oct 2020 12:23:00 +1100 Subject: [PATCH] autotest: comment suspicious-looking latitude/longitude parameters --- Tools/autotest/arducopter.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index c1cd006b53..b6fcc6a1d4 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -3392,6 +3392,8 @@ class AutoTestCopter(AutoTest): self.guided_achieve_heading(135) self.start_subtest("move the vehicle using set_position_target_global_int") + # the following numbers are 5-degree-latitude and 5-degrees + # longitude - just so that we start to really move a lot. self.fly_guided_move_global_relative_alt(5, 5, 10) self.start_subtest("move the vehicle using MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED") @@ -3900,6 +3902,9 @@ class AutoTestCopter(AutoTest): self.delay_sim_time(5) start = self.mav.location() self.progress("Moving to guided/position controller") + # the following numbers are 1-degree-latitude and + # 0-degrees longitude - just so that we start to + # really move a lot. self.fly_guided_move_global_relative_alt(1, 0, 0) self.guided_achieve_heading(0) (roi_lat, roi_lon) = mavextra.gps_offset(start.lat,