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

Add special case for importing action feedback message #9

Merged
merged 2 commits into from
Dec 6, 2019

Conversation

jacobperron
Copy link
Member

This is to support getting the feedback message type used to communicate between action servers and action clients.
The feedback message type can be used to introspect action goals with tools like ros2topic.

Note that currently, ros2 topic echo does not work with action feedback topics. I'll have a PR to https://github.com/ros2/ros2cli shortly that makes use of the import function modified here.

Maybe it makes sense to push this logic into rosidl_parser, but this gets the job done for now.

This is to support getting the feedback message type used to communicate between action servers and action clients.
The feedback message type can be used to introspect action goals with tools like ros2topic.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron added the bug Something isn't working label Dec 2, 2019
@jacobperron jacobperron self-assigned this Dec 2, 2019
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

jacobperron commented Dec 2, 2019

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

Edit: the ros2cli tests appear flakey.. I can reproduce the failures locally with master branches as well.

jacobperron added a commit to ros2/ros2cli that referenced this pull request Dec 4, 2019
Connects to #218.

Note that the action feedback logic in the echo verb was incorrect, resulting in a ModuleImportError.
The new logic added in ros2/rosidl_runtime_py#9 should fix the error.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron merged commit 22cd67c into master Dec 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/import_action_feedback branch December 6, 2019 20:21
jacobperron added a commit to ros2/ros2cli that referenced this pull request Dec 10, 2019
)

Connects to #218.

Note that the action feedback logic in the echo verb was incorrect, resulting in a ModuleImportError.
The new logic added in ros2/rosidl_runtime_py#9 should fix the error.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants