selfcheck.py fixes

This commit is contained in:
Oleg Kalachev
2018-09-11 04:02:36 +03:00
parent 77f4cbcdd3
commit 6b0bd77d49

View File

@@ -121,7 +121,7 @@ def check_velocity():
@check('Global position (GPS)')
def check_global_position():
try:
rospy.wait_for_message('mavros/global_position/global', PoseStamped, timeout=3)
rospy.wait_for_message('mavros/global_position/global', NavSatFix, timeout=2)
except rospy.ROSException:
failure('No global position')