From 80010ca0e802a0f0a31b9accf29809c9b6f7902c Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Sat, 16 Nov 2019 10:08:14 +0000 Subject: [PATCH] Client: Increase visual pose watchdog timeout --- Drone/visual_pose_watchdog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Drone/visual_pose_watchdog.py b/Drone/visual_pose_watchdog.py index 94f06f1..39c6556 100644 --- a/Drone/visual_pose_watchdog.py +++ b/Drone/visual_pose_watchdog.py @@ -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() - \ No newline at end of file +