Skip to content

Improve message filters error messages#364

Merged
ivanpauno merged 5 commits intoros2from
ivanpauno/better-error-msgs
Jan 13, 2021
Merged

Improve message filters error messages#364
ivanpauno merged 5 commits intoros2from
ivanpauno/better-error-msgs

Conversation

@ivanpauno
Copy link
Copy Markdown
Member

@ivanpauno ivanpauno commented Jan 12, 2021

Replace some errors labeled as "unknown" with a more specific label.

Fixes ros2/rviz#443.
Fixes #118.

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@ivanpauno ivanpauno added the enhancement New feature or request label Jan 12, 2021
@ivanpauno ivanpauno requested a review from jacobperron January 12, 2021 17:12
@ivanpauno ivanpauno self-assigned this Jan 12, 2021
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

Thanks for improving this!

ivanpauno and others added 4 commits January 12, 2021 14:58
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@jacobperron
Copy link
Copy Markdown
Member

I think this just improves the error message, but doesn't actual resolve the repeated warnings on start-up. I.e. it doesn't fix ros2/rviz#513

@ivanpauno
Copy link
Copy Markdown
Member Author

I think this just improves the error message, but doesn't actual resolve the repeated warnings on start-up. I.e. it doesn't fix ros2/rviz#513

Sounds good, I don't know if that can be completely fixed though.

@jacobperron
Copy link
Copy Markdown
Member

I don't know if that can be completely fixed though.

Yeah, I don't know either. This might be something we could hack around in RViz if it seems to be annoying to users. It might be worth leaving the ticket open and report this improvement on the ticket at least.

@clalancette
Copy link
Copy Markdown
Contributor

Yeah, I don't know either. This might be something we could hack around in RViz if it seems to be annoying to users. It might be worth leaving the ticket open and report this improvement on the ticket at least.

If I understand what you are talking about here, I think this is just a generic problem with tf2. See #358, which I think is related. This change is obviously an improvement so that the error messages are less generic. But I wouldn't be in favor of suppressing them in RViz, just because all other applications that use tf2 probably have similar issues.

@ivanpauno
Copy link
Copy Markdown
Member Author

not sure if this can affect downstream packages or not, full CI just in case:

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

@ivanpauno ivanpauno merged commit 4a6526b into ros2 Jan 13, 2021
@delete-merged-branch delete-merged-branch bot deleted the ivanpauno/better-error-msgs branch January 13, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error messages from TF message filter Uninformative error messages from MessageFilter

3 participants