Client: Increase visual pose watchdog timeout

This commit is contained in:
Arthur Golubtsov
2019-11-16 10:08:14 +00:00
parent 027f01e036
commit 80010ca0e8

View File

@@ -6,7 +6,7 @@ from geometry_msgs.msg import PoseStamped
land = rospy.ServiceProxy('/land', Trigger)
visual_pose_last_timestamp = 0
visual_pose_timeout = 1.
visual_pose_timeout = 2.
rospy.init_node('visual_pose_watchdog')
rospy.loginfo('visual_pose_watchdog inited')
@@ -26,4 +26,4 @@ rospy.Subscriber('/mavros/vision_pose/pose', PoseStamped, visual_pose_callback)
rospy.Timer(rospy.Duration(0.5), watchdog_callback)
rospy.spin()