Tools: autotest: correct debug for precision

This commit is contained in:
Peter Barker 2019-01-11 08:24:43 +11:00 committed by Peter Barker
parent 695073db49
commit 584013de58
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
home_distance_max = 5
if home_distance > home_distance_max:
raise NotAchievedException(
"Did not get home (%u metres distant > %u)" %
"Did not get home (%f metres distant > %f)" %
(home_distance, home_distance_max))
self.mavproxy.send('switch 6\n')
self.wait_mode('MANUAL')