Skip to content

Switching to examples_interfaces - #377

Open
CursedRock17 wants to merge 4 commits into
ros2:rollingfrom
CursedRock17:deprecated_msgs
Open

CursedRock17 wants to merge 4 commits into
ros2:rollingfrom
CursedRock17:deprecated_msgs

Conversation

@CursedRock17

Copy link
Copy Markdown

Meant to resolve #356, this pull request switches all the deprecated instances of std_msgs to example_interfaces after deprecation of the many elements occured. Though, any msg with Header is still a std_msgs since they were not part of that deprecation.

Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: CursedRock17 <[email protected]>
Signed-off-by: CursedRock17 <[email protected]>
@ahcorde

ahcorde commented Apr 30, 2024

Copy link
Copy Markdown
Contributor
  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@CursedRock17

Copy link
Copy Markdown
Author

Hmm looks like a regression with one test, do you think it needed to be patched in #374? I can't imagine changing to example_interfaces would alter the time it takes to deliver one specific message, but I could be wrong.

@fujitatomoya

Copy link
Copy Markdown
Collaborator

@CursedRock17

Copy link
Copy Markdown
Author

Yeah, I just didn't know if that specific test had passed all the way through, I'm trying to figure out why that specific test continues to be a regression. I guess it did pass in #374's CI so my changes must have broke it somehow.


import unittest

from example_interfaces.msg import String

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@ahcorde

ahcorde commented May 8, 2024

Copy link
Copy Markdown
Contributor
  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@CursedRock17

Copy link
Copy Markdown
Author

Ok I understand it's the changes I've made that cause downstream CI failures, but I just don't see the correlation between this repo and something like rmw_implementation which is currently failing. Since neither repo includes each other I assumed it could've been test_msgs but again there's no generation of examples. Could somebody point out what I'm missing when it comes to these failures? Thanks.

@clalancette

Copy link
Copy Markdown
Contributor

To be perfectly honest, I'm not entirely sure we should do this at all. I know we technically marked those messages as deprecated, but they are very heavily used; looking at the packages released into rolling, I see hundreds of uses of those messages. It just seems that they are too useful to be able to remove them.

Personally, I would actually be for reverting ros2/common_interfaces#116 , and closing this PR and the associated issue. But we'll have to discuss that with the rest of the team.

@christophebedard

christophebedard commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

@clalancette did we ever talk about this? I think it makes sense to switch from std_msgs to example_interfaces in ros2/examples packages, at least going forward.

@skyegalaxy

Copy link
Copy Markdown
Member

@pragad3sh from the waffle meeting was also interested in leaving a review

@clalancette

Copy link
Copy Markdown
Contributor

@clalancette did we ever talk about this? I think it makes sense to switch from std_msgs to example_interfaces in ros2/examples packages, at least going forward.

I honestly don't remember. I'm OK with changing this particular package to use example_interfaces, but my overall stance on std_msgs has not shifted; they are just too heavily used to make such a drastic change.

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.

Official ros2 examples still use deprecated msg?

6 participants