-
Notifications
You must be signed in to change notification settings - Fork 70
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
[launch_testing_ros] Fix example launch test #112
Conversation
Fixes #97 Inject the ROS-specific preamble so that the test can be run as described in the README. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
pre-waffle: @jacobperron Can you add a reviewer? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@jacobperron Can you open a tracking issue to discuss if ros2 test
should inject the default launch description or not?
I've opened an issue about injecting the launch_ros preamble generally (for After discussing with @wjwwood, I don't think this PR is an appropriate fix. The example launch script is making use of |
How is that related with the default launch description injections? |
Exactly. AFAICT, there's no need for the default launch description in the example. I'll check anyways. |
Sounds good, I will close this one as there's already an issue tracking the problem. |
See #121 for an alternate fix. |
Fixes #97
Inject the ROS-specific preamble so that the test can be run as described in the README.
Note, we may want to consider a mechanism to detect if the ROS preamble has already been included so that ros2test doesn't inject it again in launch files like this example.