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

Strategies for YAML Message Generation Using ROS CLI #4984

Open
kscottz opened this issue Jan 31, 2025 · 2 comments
Open

Strategies for YAML Message Generation Using ROS CLI #4984

kscottz opened this issue Jan 31, 2025 · 2 comments
Labels
good first issue Good for newcomers

Comments

@kscottz
Copy link
Collaborator

kscottz commented Jan 31, 2025

Image

This one comes in from the Discord, but it is also something I've encountered personally. For complex ROS messages it can be difficult to use the ROS CLI. I think it would be helpful to have an intermediate tutorial on how to dump a YAML message from the CLI, modify the message, and then republish the message using ros2 topic pub etc.

I am pretty sure there is a way to do this but it is non-obvious to new users. It would be helpful to have something to refer to for debugging.

@kscottz kscottz added the good first issue Good for newcomers label Jan 31, 2025
@fujitatomoya
Copy link
Collaborator

@kscottz

just wanted to share current status.

currently we can ros2 topic echo to save the messages in yaml file format, but we cannot ros2 topic pub with using yaml file just yet.
the original issue ros2/ros2cli#919, and enhancement is on review ros2/ros2cli#925.

adding documentation, i totally agree once the feature is ready.

@kscottz
Copy link
Collaborator Author

kscottz commented Feb 1, 2025

Thanks for adding context @fujitatomoya. I seemed to remember that we had this discussion earlier in the year. I'll see if I can't help move along that PR next week. Once that gets merged this would be a fantastic task for a first time contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants