mirror of https://github.com/ArduPilot/ardupilot
Tools: copter: update exception for rangefinder test
This commit is contained in:
parent
1689714a5c
commit
aba594fe2d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue