From ba5e4b8e377456a5fe7dcc96bf116956ce73a91d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Jun 2020 11:24:22 +1000 Subject: [PATCH] autotest: python3 fix for fly_guided_move_to --- Tools/autotest/arducopter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index ceb7e0cf97..c3bbdacec8 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -4085,8 +4085,8 @@ class AutoTestCopter(AutoTest): 1, # target component id mavutil.mavlink.MAV_FRAME_GLOBAL_INT, 0b1111111111111000, # mask specifying use-only-lat-lon-alt - destination.lat *1e7, # lat - destination.lng *1e7, # lon + int(destination.lat *1e7), # lat + int(destination.lng *1e7), # lon destination.alt, # alt 0, # vx 0, # vy