Skip to content

Configure maximum DDS participants in a generic way #324

Description

@nbbrooks

Feature request

As a developer, I would like a DDS vendor agnostic way to set the maximum number of DDS participants, so that (1) myself and new users do not have to maintain different configs for different vendors, and (2) I can easily fix the "Failed to find a free participant index for domain #" without knowing the person's DDS vendor or config file details.

Feature description

As a developer, I prefer to use 'ROS_LOCALHOST_ONLY' environment variable over maintaining a custom DDS config for each vendor. It makes it very easy for new users using whatever DDS vendor to ensure they are keeping traffic local to their machine. However, I cannot fully migrate away from maintaining these configs, because the default max participants is too low for my use cases.

I would like a similar environment variable like 'ROS_LOCALHOST_ONLY' that adjust the max # participants (ex: MaxAutoParticipantIndex for CycloneDDS).

Implementation considerations

I am not terribly familiar with the implementation specifics of the various ROS DDS implementations. With a bit of digging around, I think this might go inside the 'rmw_init_options_t' data structure?

The discussion leading up to this feature request can be found here.

Activity

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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions