You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tracking bug to deal with moving runtime dependencies of generated message code in C++ and python into separate packages, so that we don't have the entire rosidl_generator_* packages as runtime dependencies.
I think that you will need to also update the repositories that generate messages in the turtlebot2_demo.repos file
I did a quick scan through those repositories. Of the additional ones in turtlebot2_demo.repos, only ros2/navigation, ros2/ros_astra_camera, and ros2/cartographer_ros have .msg or .srv files. The navigation .msg files are all in parts of navigation that aren't currently being used in ROS2. Ditto for ros_astra_camera. That just leaves ros2/cartographer_ros, which I'll add to the list above. Thanks!
Beside rosidl_runtime_cpp we will also require a rosidl_runtime_c (assuming we want to provide the same concept in C). I am just not sure if it makes sense to create new repos for each of these. Why not add them to the existing rosidl repo?
Sure, that is fine too. If you think that is a better way to go, then I'll close out the current one and move it into rosidl. @mikaelarguedas Sorry for the false start, I'll be opening a new PR very similar to the old one (but in rosidl instead) soon.
Currently some of the generator packages contain header file / Python modules which are needed at runtime from message packages. Those should be moved into the newly create runtime packages.
The goal should be that message packages only build depend on rosidl_default_generators and only run depend on rosidl_default_runtime (which doesn't need to depend on any generator). They shouldn't depend on any of the language specific generators / runtimes. So when installing Debian packages the user wouldn't need any generator package for just running stuff.
Currently some of the generator packages contain header file / Python modules which are needed at runtime from message packages. Those should be moved into the newly create runtime packages.
The goal should be that message packages only build depend on rosidl_default_generators and only run depend on rosidl_default_runtime (which doesn't need to depend on any generator). They shouldn't depend on any of the language specific generators / runtimes. So when installing Debian packages the user wouldn't need any generator package for just running stuff.
If this is too far reaching for this ticket I would suggest not to create the runtime packages for now and declare the necessary symbols in the generators. That would separate the two orthogonal enhancements without ending up in an in-between state.
The goal should be that message packages only build depend on rosidl_default_generators and only run depend on rosidl_default_runtime (which doesn't need to depend on any generator). They shouldn't depend on any of the language specific generators / runtimes.
👍 that will also allow to target specific languages / add languages with minimal changes (ala ROS1, i.e. changing only the default rosidl packages and not have to change every existing message package)
If this is too far reaching for this ticket I would suggest not to create the runtime packages for now and declare the necessary symbols in the generators. That would separate the two orthogonal enhancements without ending up in an in-between state.
Reducing scope here will definitely help me get this in. I'm fine with not making the new packages for now, as that should be less changes overall. I'll go ahead with this plan unless someone objects.
@clalancette What should we do with the original meta-ticket ? Shouldnt they be the same issue?
Should ros2/example_interfaces#1 be connected to this ticket as well?
@mikaelarguedas Yeah, I'll close out the original meta-ticket, thanks for the hint. ros2/example_interfaces#1 is already linked to this ticket via "connects to", and via the checklist above.
Activity
mikaelarguedas commentedon Aug 25, 2017
Can you please propagate the github labels to the new repo as well ? #389
mikaelarguedas commentedon Aug 25, 2017
I think that you will need to also update the repositories that generate messages in the turtlebot2_demo.repos file
clalancette commentedon Aug 25, 2017
Github labels are now setup properly.
clalancette commentedon Aug 25, 2017
I did a quick scan through those repositories. Of the additional ones in turtlebot2_demo.repos, only ros2/navigation, ros2/ros_astra_camera, and ros2/cartographer_ros have .msg or .srv files. The navigation .msg files are all in parts of navigation that aren't currently being used in ROS2. Ditto for ros_astra_camera. That just leaves ros2/cartographer_ros, which I'll add to the list above. Thanks!
dirk-thomas commentedon Aug 25, 2017
Beside
rosidl_runtime_cppwe will also require arosidl_runtime_c(assuming we want to provide the same concept in C). I am just not sure if it makes sense to create new repos for each of these. Why not add them to the existingrosidlrepo?clalancette commentedon Aug 25, 2017
Sure, that is fine too. If you think that is a better way to go, then I'll close out the current one and move it into rosidl. @mikaelarguedas Sorry for the false start, I'll be opening a new PR very similar to the old one (but in rosidl instead) soon.
dirk-thomas commentedon Aug 25, 2017
Currently some of the generator packages contain header file / Python modules which are needed at runtime from message packages. Those should be moved into the newly create runtime packages.
The goal should be that message packages only build depend on
rosidl_default_generatorsand only run depend onrosidl_default_runtime(which doesn't need to depend on any generator). They shouldn't depend on any of the language specific generators / runtimes. So when installing Debian packages the user wouldn't need any generator package for just running stuff.dirk-thomas commentedon Aug 25, 2017
If this is too far reaching for this ticket I would suggest not to create the runtime packages for now and declare the necessary symbols in the generators. That would separate the two orthogonal enhancements without ending up in an in-between state.
mikaelarguedas commentedon Aug 25, 2017
👍 that will also allow to target specific languages / add languages with minimal changes (ala ROS1, i.e. changing only the default rosidl packages and not have to change every existing message package)
mikaelarguedas commentedon Aug 30, 2017
@clalancette What should we do with the original meta-ticket ? Shouldnt they be the same issue?
Should ros2/example_interfaces#1 be connected to this ticket as well?
clalancette commentedon Sep 6, 2017
Reducing scope here will definitely help me get this in. I'm fine with not making the new packages for now, as that should be less changes overall. I'll go ahead with this plan unless someone objects.
clalancette commentedon Sep 6, 2017
@mikaelarguedas Yeah, I'll close out the original meta-ticket, thanks for the hint. ros2/example_interfaces#1 is already linked to this ticket via "connects to", and via the checklist above.
mikaelarguedas commentedon Sep 6, 2017
It "connects to" the wrong ticket that's why it doesnt show up connected to anything on waffle
clalancette commentedon Sep 6, 2017
Ah, sorry about that! Fixed now.
[-]Tracking bug for message initialization[/-][+]Tracking bug for runtime package for rosidl[/+]mikaelarguedas commentedon Sep 8, 2017
should this be put back in backlog ?
clalancette commentedon Sep 8, 2017
Yeah, I'm not going to touch this again until after Beta 3. I'll move it now.
mikaelarguedas commentedon Sep 8, 2017
👍
Can you also delete the branches of all the referenced closed PRs if you dont need them anymore ?
clalancette commentedon Jan 2, 2018
I'm going to close this out since it is old and confusing. I'll be opening a new bug to track what we really want to do here.