Skip to content

Conversation

@grishalipenko
Copy link

suppress spam of "Warning: Invalid frame ..." if timeout > 0 and errstr != nullptr`

@grishalipenko
Copy link
Author

resolve #501

@clalancette clalancette self-assigned this Feb 17, 2022
@jacobperron
Copy link
Member

jacobperron commented Apr 21, 2022

I suggest we pass in a temporary string to these calls too, otherwise callers have no choice but to suffer the spam if they call lookupTransform:

canTransform(target_frame, source_frame, lookup_time, timeout);

canTransform(target_frame, target_time, source_frame, source_time, fixed_frame, timeout);

@gonzodepedro
Copy link
Contributor

gonzodepedro commented May 9, 2022

There are code style divergences:

--- src/buffer.cpp
+++ src/buffer.cpp.uncrustify
@@ -149,2 +149,3 @@
-    !canTransform(target_frame, source_frame, time,
-                  tf2::Duration(std::chrono::nanoseconds::zero()), errstr) &&
+    !canTransform(
+      target_frame, source_frame, time,
+      tf2::Duration(std::chrono::nanoseconds::zero()), errstr) &&
@@ -178,2 +179,3 @@
-    !canTransform(target_frame, target_time, source_frame, source_time, fixed_frame,
-                  tf2::Duration(std::chrono::nanoseconds::zero()), errstr) &&
+    !canTransform(
+      target_frame, target_time, source_frame, source_time, fixed_frame,
+      tf2::Duration(std::chrono::nanoseconds::zero()), errstr) &&

@audrow audrow changed the base branch from ros2 to rolling June 28, 2022 14:18
@jacobperron
Copy link
Member

Replaced by #529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants