Skip to content

store node name in participant user_data #438

Closed

Description

@dirk-thomas

Currently the rmw impl. of Connext and FastRPTS set the RTPS participant name to the node name. But this is an extension to the DDS spec. OpenSplice does not provide to set this and instead places the node name into the user_data of the participant. Each approach on its own works but is not compatible with each other.

Therefore the idea is to populate the user_data in Connext and FastRTPS to achieve cross vendor compatibility.

Activity

  1. added
    in progress
    on Dec 7, 2017
  2. self-assigned this
    on Dec 7, 2017
  3. added
    in review
    and removed
    in progress
    on Jan 19, 2018
  4. dirk-thomas commented on Jan 19, 2018

    @dirk-thomas
    MemberAuthor

    All referenced PR are ready for review now.

    • Linux Build Status
    • Linux-aarch64 Build Status
    • macOS Build Status
    • Windows Build Status

    Update: I will look into the failing test test_get_node_names__rmw_fastrtps_cpp.

  5. dirk-thomas commented on Jan 20, 2018

    @dirk-thomas
    MemberAuthor

    And with test_get_node_names__rmw_fastrtps_cpp fixed (the node needs to add itself to the list of "discovered" node names...):

    • Linux Build Status
    • Linux-aarch64 Build Status
    • macOS Build Status
    • Windows Build Status
  6. richiware commented on Jan 30, 2018

    @richiware

    Commit eProsima/Fast-DDS@bfb448e should resolve the failing tests of FastRTPS

  7. dirk-thomas commented on Jan 30, 2018

    @dirk-thomas
    MemberAuthor

    @richiprosima was able to address the problem serializing the userData in FastRTPS: eProsima/Fast-DDS@bfb448e

    • Linux Build Status
    • Linux-aarch64 Build Status
    • macOS Build Status
    • Windows Build Status
  8. dirk-thomas commented on Feb 1, 2018

    @dirk-thomas
    MemberAuthor

    Waiting for feedback from @richiprosima about the communication problems between FastRTPS and OpenSplice when using userData. OpenSplice is rejecting the data coming from FastRTPS:

    Report      : WARNING
    Description : plist(vendor 1.15): parameter length 37 mod 4 != 0
    Thread      : dq.builtins 7f0896a1f700
    Internals   : 6.7.170523OSS///ddsi2/q_plist.c/2477/0/1517388334.601583782/108
    
  9. richiware commented on Feb 8, 2018

    @richiware

    I've pushed a possible solution in branch hotfix/2538. Can you test it against Opensplice?

  10. dirk-thomas commented on Feb 8, 2018

    @dirk-thomas
    MemberAuthor

    @richiware Thank you for the patch. It looks like it made it work on OS X: http://ci.ros2.org/job/ci_osx/3280/ I will run CI for all platform once we have more unit tests on this but I am confident the patch is valid across platforms and can be merged into FastRTPS master.

  11. added
    in progress
    and removed
    in review
    on Feb 8, 2018
  12. richiware commented on Feb 12, 2018

    @richiware

    @dirk-thomas Did it work in all platforms?

  13. dirk-thomas commented on Feb 12, 2018

    @dirk-thomas
    MemberAuthor

    Did it work in all platforms?

    Yes, it did:

    • Linux Build Status
    • Linux-aarch64 Build Status
    • macOS Build Status
    • Windows Build Status
  14. mikaelarguedas commented on Mar 8, 2018

    @mikaelarguedas
    Member

    this will break wire compatibility so I'm marking it as targeted for Bouncy so that we make a decision (and merge the implementation?) by the next release

  15. added this to the bouncy milestone on Mar 8, 2018
  16. dirk-thomas commented on Mar 8, 2018

    @dirk-thomas
    MemberAuthor

    I don't think we should delay the decision and/or the merging if this patch. Please bring up any concerns why this should not be done or if there is anything which should be changed. Otherwise please review it as-is to merge the change afterwards after the tests have been added.

  17. mikaelarguedas commented on Mar 8, 2018

    @mikaelarguedas
    Member

    My recollection is that we didn't settle on it. If it's the case and is ready for review, please label it as "in review"

  18. dhood commented on Mar 8, 2018

    @dhood
    Member

    we were waiting on tests as I remember for why it's back in progress

  19. dirk-thomas commented on Mar 8, 2018

    @dirk-thomas
    MemberAuthor

    I am looking for feedback / review on the proposed changes now even though tests need to be added before the changed can be merged.

    I just want to avoid late feedback on the actual idea how to store the node name.

  20. dirk-thomas commented on Mar 29, 2018

    @dirk-thomas
    MemberAuthor

    A set of builds only running the tests of test_rclcpp but incl. OpenSplice:

    A set of builds running all tests with FastRTPS and Connext:

    • Linux Build Status
    • Linux-aarch64 Build Status
    • macOS Build Status
    • Windows Build Status

    Ready for review - specifically the newly referenced PR with the test.

  21. added
    in review
    and removed
    in progress
    on Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in review

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions