-
Notifications
You must be signed in to change notification settings - Fork 905
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
Conversation
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
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_; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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_; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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>
@ayrton04, I think this should be good to go. Do you mind to review it again? Thanks! |
There was a problem hiding this 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!
This patch propagates the suppression of
tf
warnings to all places where there's alookupTransformSafe()
.Signed-off-by: Carlos Agüero caguero@openrobotics.org