Skip to content

Tracking bug for runtime package for rosidl #393

Closed

Description

@clalancette

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.

Activity

  1. self-assigned this
    on Aug 25, 2017
  2. added
    in progress
    in review
    and removed
    in progress
    in review
    on Aug 25, 2017
  3. mikaelarguedas commented on Aug 25, 2017

    @mikaelarguedas
    Member

    Can you please propagate the github labels to the new repo as well ? #389

  4. mikaelarguedas commented on Aug 25, 2017

    @mikaelarguedas
    Member

    I think that you will need to also update the repositories that generate messages in the turtlebot2_demo.repos file

  5. clalancette commented on Aug 25, 2017

    @clalancette
    ContributorAuthor

    Can you please propagate the github labels to the new repo as well ? #389

    Github labels are now setup properly.

  6. clalancette commented on Aug 25, 2017

    @clalancette
    ContributorAuthor

    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!

  7. dirk-thomas commented on Aug 25, 2017

    @dirk-thomas
    Member

    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?

  8. clalancette commented on Aug 25, 2017

    @clalancette
    ContributorAuthor

    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.

  9. dirk-thomas commented on Aug 25, 2017

    @dirk-thomas
    Member

    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.

  10. dirk-thomas commented on Aug 25, 2017

    @dirk-thomas
    Member

    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.

  11. mikaelarguedas commented on Aug 25, 2017

    @mikaelarguedas
    Member

    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)

  12. mikaelarguedas commented on Aug 30, 2017

    @mikaelarguedas
    Member

    @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?

  13. clalancette commented on Sep 6, 2017

    @clalancette
    ContributorAuthor

    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.

  14. clalancette commented on Sep 6, 2017

    @clalancette
    ContributorAuthor

    @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.

  15. mikaelarguedas commented on Sep 6, 2017

    @mikaelarguedas
    Member

    ros2/example_interfaces#1 is already linked to this ticket via "connects to",

    It "connects to" the wrong ticket that's why it doesnt show up connected to anything on waffle

  16. clalancette commented on Sep 6, 2017

    @clalancette
    ContributorAuthor

    It "connects to" the wrong ticket that's why it doesnt show up connected to anything on waffle

    Ah, sorry about that! Fixed now.

  17. changed the title [-]Tracking bug for message initialization[/-] [+]Tracking bug for runtime package for rosidl[/+] on Sep 6, 2017
  18. mikaelarguedas commented on Sep 8, 2017

    @mikaelarguedas
    Member

    should this be put back in backlog ?

  19. clalancette commented on Sep 8, 2017

    @clalancette
    ContributorAuthor

    Yeah, I'm not going to touch this again until after Beta 3. I'll move it now.

  20. removed their assignment
    on Sep 8, 2017
  21. removed
    in progress
    on Sep 8, 2017
  22. mikaelarguedas commented on Sep 8, 2017

    @mikaelarguedas
    Member

    Yeah, I'm not going to touch this again until after Beta 3. I'll move it now.

    👍

    Can you also delete the branches of all the referenced closed PRs if you dont need them anymore ?

  23. clalancette commented on Jan 2, 2018

    @clalancette
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions