Skip to content

failed to create domain error #777

@val-ba

Description

@val-ba

Summary

When spawning to many nodes, I get a failed to create domain error.
It seems like this is a known issue with dds (ros2/rclpy#1212).

Expected behavior

Current behavior

Steps to Reproduce

  1. ros2 launch bitbots_bringup simulator_teamplayer.launch
  2. ros2 run game_controller_hsl sim_gamestate.py
  3. rqt

Possible Solution

added the following line to the pixi.toml: CYCLONEDDS_URI="file://$HOME/.config/dds/cyclonedds.xml"
with the following content:

<?xml version="1.0" encoding="UTF-8" ?>
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
  <Domain id="any">
    <General>
      <Interfaces>
        <NetworkInterface name="lo" />
      </Interfaces>
    </General>
    <Discovery>
      <ParticipantIndex>auto</ParticipantIndex>
      <MaxAutoParticipantIndex>1000</MaxAutoParticipantIndex>
    </Discovery>
  </Domain>
</CycloneDDS>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions