-
Notifications
You must be signed in to change notification settings - Fork 738
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
Refactor image_proc and stereo_image_proc launch files #583
Conversation
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.
Only one minor item.
Looks like there are still test errors in |
If a container name is provided, then load the image_proc nodes into that container. Otherwise, launch a container to load the nodes into. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
This resolves a TODO, making the launch file have similar behavior as the version from ROS 1. Also expose a new launch argument for optionally providing a container (similar to image_proc's launch file). Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Removing vestigial imports. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
85cccd8
to
5aff814
Compare
Rebasing to get #584 fixed some errors, but it looks like |
Default to launching the image_proc nodes. Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@JWhitleyWork I've made addition changes
Note, this change is not compatible with Foxy. I recommend we create a |
I've opened a PR to help alleviate the flaky tests: #588 |
I would prefer to not push changes which are incompatible with the current LTS release to a branch which is specifically targeting that release. The idea with our branch names is that |
@JWhitleyWork In this case, I'm only using features from Rolling for aesthetic purposes (i.e. The In general, I think it would be nice to have a place to land changes for Rolling, but I'm okay if you just want to maintain compatibility with the latest release. Note, we might run into issues in the future if something changes upstream in Rolling that is not compatible with the latest release; e.g. The Rpr job might start failing and then we should either remove this package from Rolling or make a separate branch. |
I keep forgetting about Rolling. How does rolling work? Do you have to specifically target it with a Bloom release? |
The idea is for Rolling to be a staging ground for the upcoming ROS release (e.g. Galactic). When we get close to the next release, the packages released into Rolling will be automatically released into the new distro (e.g. the version of image_pipeline in Rolling will be released into Galactic for you). You should make releases into Rolling independent from other distros. You can give For details, see REP 2002. |
@JWhitleyWork I've backported ros2/launch#457 to Foxy and released it, so this PR should now be compatible with Foxy. |
@JWhitleyWork Friendly ping. I think this PR is ready. |
Looks like the backport made it into the sync and we're good to go on that side. However, when testing the
Since it doesn't mention the launch file in the Traceback, it doesn't seem to affect the functionality, and it doesn't happen on the |
I've looked into the Foxy launch issue, turns out it was one bug exposing another. The first is that pushing the included launch file into a namespace doesn't work in Foxy (ie. left and right image_proc nodes have the same names). There are a few |
@jacobperron Thanks for the follow-up and for working on a fix! |
If a container name is provided, then load the image_proc nodes into that container. Otherwise, launch a container to load the nodes into.
This resolves a TODO, making the launch file have similar behavior as the version from ROS 1.
Also expose a new launch argument for optionally providing a container (similar to image_proc's launch file).
These changes takes advantage of new launch conditions introduced in ros2/launch#453. Therefore, if we want this change to be compatible with Foxy, we should backport the launch additions. I'm indifferent if this change is backported to Foxy, but if it is desired I can make the backport of the launch PR.