Tools: copter: update exception for rangefinder test

This commit is contained in:
Pierre Kancir 2019-07-10 17:11:46 +02:00 committed by Peter Barker
parent 1689714a5c
commit aba594fe2d
1 changed files with 1 additions and 1 deletions

View File

@ -2144,7 +2144,7 @@ class AutoTestCopter(AutoTest):
blocking=True)
if abs(m_r.distance - m_p.relative_alt/1000) > 1:
raise NotAchievedException("rangefinder/global position int mismatch")
raise NotAchievedException("rangefinder/global position int mismatch %0.2f vs %0.2f", (m_r.distance, m_p.relative_alt/1000))
self.land_and_disarm()