-
Notifications
You must be signed in to change notification settings - Fork 299
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
ros1_bridge deb depends on rospy_tutorials
but not on the ros2 equivalent
#228
Comments
The The talker / listener demonstration is only an example how the bridge can be used. In order to run that demo you will just need to make sure that both packages on the ROS 1 as well as the ROS 2 side are installed independently of the bridge. It probably makes sense to install those packages in the mentioned docker container. For that please open a ticket in the repository defining these docker images. |
The ros1_bridge deb depends directly on these ROS 1 packages as pointed out in the issue description.
From issue description:
It looks like you're advocating for the former and to remove the direct dependency on the |
The package manifest doesn't contain a dependency on either of these two packages: see https://github.com/ros2/ros1_bridge/blob/f69a1dfc42e591fed1a213af486d9f89c9efa127/package.xml |
These Debian dependencies are injected in the release repo: https://github.com/ros2-gbp/ros1_bridge-release/blob/91ca9fe4c869394dc22ac0a3471fddb935d0772d/debian/control#L11
|
@mikaelarguedas Doesn't the bridge need both ROS 1 and ROS 2 deps at build time to enable communication? If we remove the ROS 1 dependencies when adding their ROS 2 counterparts, won't that also result in unbridgeable topics since the ROS 1 deps won't be there? |
Why should the Debian package contain these dependencies? A user might want to install the bridge but not use it with the demo talker / listener.
|
The intent is to provide a ros1_bridge binary that is maximally useful. From the ros1_bridge README:
I haven't been following the development of the bridge so I don't know if that statement is still accurate. I can't find anything in writing, but starting with Beta 3 we were manually adding interfaces packages so that the bridge binary is built with support for them. The number of packages added has definitely increased since beta 3. So if the suggestion is for culling back to just the basic messages described in the README that's also an option. |
The discussion here is not about message packages. We do want to list as many message packages out of the box to provide maximum usability for users (to avoid them having to build the bridge from source). This is about the ROS 2 demo / ROS 1 tutorial packages. Looking at the ROS 1 tutorial packages With that rational this ticket as well as the two PRs should be closed. |
That makes sense to me. I don't know whether @mikaelarguedas had some other rationale for their inclusion. |
No rationale for inclusion 👍 . Inclusion in the docker images has been added in osrf/docker_images#341 so no need for inclusion in the bridge. From @dirk-thomas comment above it looks like there is a service defined in Closing this |
Bug report
The fix will happen on the release repository but opened this issue here for visibility and because that's where the readme is hosted.
Required Info:
ros1_bridge
deb pulls the ros1 talker listener examples (roscpp_tutorials and rospy_tutorials) but not the ROS2 equivalentsThe README says to use
demo_nodes_{cpp,py}
on the ROS 2 side andros{cpp,py}_tutorials
on the ROS 1 side.For consistency it would be better to either pull neither or all of these packages as dependencies.
Steps to reproduce issue
Expected behavior
The text was updated successfully, but these errors were encountered: