mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-03 10:39:33 +00:00
Client: Increase visual pose watchdog timeout
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user