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

Print out the name of the signalFailure reason instead of just its enum value #186

Merged
merged 3 commits into from
Nov 18, 2019

Conversation

emersonknapp
Copy link
Contributor

@emersonknapp emersonknapp commented Oct 22, 2019

Print a slightly more informative error message from signalFailure in the tf2 MessageFilter and add a unit test for the string conversion.

First half of follow-through for #130
Part of fix for #118
Part of https://github.com/ros-security/aws-roadmap/issues/74

Signed-off-by: Emerson Knapp emerson.b.knapp@gmail.com

…um code

And add unit test for the string conversion

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp
Copy link
Contributor Author

@tfoote for review please :)

The automatic build seems to be using some out of date dependencies unrelated to this change.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Copy link
Contributor

@thomas-moulard thomas-moulard left a comment

Choose a reason for hiding this comment

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

LGTM, couple nits.

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This looks generally fine to me, but I'll defer to @tfoote for final review.

tf2_ros/include/tf2_ros/message_filter.h Outdated Show resolved Hide resolved
tf2_ros/include/tf2_ros/message_filter.h Outdated Show resolved Hide resolved
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Copy link
Contributor

@thomas-moulard thomas-moulard left a comment

Choose a reason for hiding this comment

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

🥇

@piraka9011
Copy link

@tfoote can we get a review on this please.

@tfoote tfoote self-requested a review November 6, 2019 11:30
@thomas-moulard
Copy link
Contributor

@tfoote friendly ping :)

@emersonknapp
Copy link
Contributor Author

@tfoote any thoughts?

@mjcarroll
Copy link
Member

@ros-pull-request-builder retest this please

@tfoote tfoote merged commit 177f208 into ros2:ros2 Nov 18, 2019
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.

None yet

8 participants