From 82f2a2df50d1f60b630d5c0905065ea0ca42e121 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sun, 21 Jul 2019 21:25:51 +0300 Subject: [PATCH] simple_offboard: increase the rate of checking in waitTransform --- clever/src/simple_offboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clever/src/simple_offboard.cpp b/clever/src/simple_offboard.cpp index acd0ffed..5fb07fbf 100644 --- a/clever/src/simple_offboard.cpp +++ b/clever/src/simple_offboard.cpp @@ -157,7 +157,7 @@ void handleLocalPosition(const PoseStamped& pose) inline bool waitTransform(const string& target, const string& source, const ros::Time& stamp, const ros::Duration& timeout) { - ros::Rate r(10); + ros::Rate r(100); auto start = ros::Time::now(); while (ros::ok()) { if (ros::Time::now() - start > timeout) return false;