Skip to content

Domain initialization exception when ROS_DOMAIN_ID=0 #311

@alrad32

Description

@alrad32

Hello,
When trying to initialize the Domain class using id 0, while simultaneously having ROS_DOMAIN_ID environment variable set to 0, the following exception is raised by the Entity class: Occurred upon initialisation of a cyclonedds.domain.Domain. I am passing the following config to the Domain class:

'''<?xml version="1.0" encoding="UTF-8" ?>
    <CycloneDDS>
        <Domain Id="any">
            <General>
                <Interfaces>
                    <NetworkInterface name="eht0" priority="default" multicast="default"/>
                </Interfaces>
            </General>
            <Tracing>
                <Verbosity>config</Verbosity>
            <OutputFile>/tmp/cdds.LOG</OutputFile>
        </Tracing>
        </Domain>
    </CycloneDDS>'''

Changing the ROS_DOMAIN_ID to any other value results in successful initialization of the Domain class. It is unclear whether this is related to ROS already using the CPP version of cyclone DDS by default. I would appreciate it if you could suggest possible inspection tracks for this.

I am using ROS Humble within a docker container on an Ubuntu 20.04 host.

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