Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate the suppression of tf warnings #705

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

caguero
Copy link

@caguero caguero commented Nov 16, 2021

This patch propagates the suppression of tf warnings to all places where there's a lookupTransformSafe().
Signed-off-by: Carlos Agüero caguero@openrobotics.org

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
@ayrton04
Copy link
Collaborator

Thanks for this. Test failures are unrelated to this change, so merging.

@@ -287,6 +287,10 @@ class NavSatTransform
//!
ros::Duration transform_timeout_;

//! @brief When true, do not print warnings for tf lookup failures.
//!
bool tf_silent_failure_;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, sorry, small request: can we put this up with the other booleans? My original aim here was to group variables by data type and then alphabetically, though I realise there are some variables that don't adhere to that standard here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally, done in 8c435d5.

@@ -638,6 +638,10 @@ template<class T> class RosFilter
//!
ros::Duration tfTimeout_;

//! @brief When true, do not print warnings for tf lookup failures.
//!
bool tfSilentFailure_;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here, if you don't mind.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8c435d5.

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
@caguero
Copy link
Author

caguero commented Nov 22, 2021

@ayrton04, I think this should be good to go. Do you mind to review it again? Thanks!

Copy link
Collaborator

@ayrton04 ayrton04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, @caguero, lots going on just now. LGTM, thanks!

@ayrton04 ayrton04 merged commit c1b5f16 into cra-ros-pkg:noetic-devel Nov 22, 2021
@Timple Timple mentioned this pull request Jul 26, 2022
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.

2 participants