conversion functions from .msg / .srv to .idl#324
Merged
dirk-thomas merged 2 commits intomasterfrom Nov 15, 2018
Merged
Conversation
Merged
5af4df6 to
ae4d119
Compare
mjcarroll
previously requested changes
Nov 15, 2018
Member
mjcarroll
left a comment
There was a problem hiding this comment.
I think the only thing that was unexpected is that the scripts had to be run from the package folder.
# Fails
src/ros2/common_interfaces $ ros2 run rosidl_adapter srv2idl.py ./sensor_msgs/srv/SetCameraInfo.srv
# Succeeds
ros2/common_interfaces/sensor_msgs $ ros2 run rosidl_adapter srv2idl.py ./srv/SetCameraInfo.srv
A short doc or more informative error would be helpful in this case.
Member
Author
That is weird. It worked for me with arbitrary paths independent of the cwd. Can you please share your output when it fails. |
Member
|
ae4d119 to
672b7b0
Compare
Member
Author
|
I was able to reproduce the problem. It should be fixed in 9d2cd71. |
Please retry with the current state
mjcarroll
approved these changes
Nov 15, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the third PR integrating #298 step-by-step.
Builds on top of #323.
Since the functionality provided by this patch isn't actively being used yet there isn't a point in running CI.
The command line script
msg2idl.pyandsrv2idl.pycan be used to manually convert.msg/.srvfiles.