Add additional interfaces for testing ros2interface's show command without dependencies#11
Add additional interfaces for testing ros2interface's show command without dependencies#11
Conversation
5bd4f1c to
bc0e1d0
Compare
Signed-off-by: Audrow <audrow.nash@gmail.com>
Signed-off-by: Audrow <audrow.nash@gmail.com>
Signed-off-by: Audrow <audrow.nash@gmail.com>
bc0e1d0 to
139ab82
Compare
|
Does this change actually pass building and testing of downstream packages which was a concern raised before (ros2/ros2cli#540 (comment))? |
|
I assume so because I've only created new interfaces in this PR; I haven't modified any existing interfaces. I can check to make sure. What would be the best way to check in CI? On, say, just |
|
|
Could you use the existing message definitions? Potentially adding comments to them where you want to test for those? |
|
I could add comments to existing message files. It depends on if we think the following are good trade-offs. The tests will not be very concise. For example, to test multiple layers of nesting, Also, the tests won't be as thorough in testing services and actions. For services, |
|
I would think either of the two options (use existing interfaces with added comments or creating a separate package for concise interfaces) is preferred over adding interfaces to |
|
I agree. I'll take one of the other approaches. I'm favoring making a separate package with concise interfaces as the tests can be more thorough. |
|
I created a new package in |
If I understand correctly it looks like it's just I like doing this instead of creating a separate package because we might not want to release a separate package. Depending on the repo it's added to (it looks like ros2/ros2cli#547 adds it to ros2/ros2cli) that means having to remember to update the package blacklist in the release repo when a new ROS distro is created. |
|
Reopening to continue the discussion. |
|
One downside of adding new messages to test in Originally, I had thought we'd create a separate package with test messages for |
|
Closed in favor of ros2/ros2cli#579. |
Part of the fix for ros2/ros2cli#541.