Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Domain initialization exception when ROS_DOMAIN_ID=0

オープン
#311 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

指定された ROS Humble Docker 環境で ROS_DOMAIN_ID=0 の状態で、id 0 を指定して Domain クラスを初期化し、失敗を再現します。Entity の初期化パスから調査を開始し、ゼロ以外のドメイン ID の場合と比較してから、ROS と Cyclone DDS の相互作用を調べます。原因を特定し、ドメイン ID 0 の回帰チェックを追加できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
110
フォーク
68
平均マージ
3日 5時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-cyclonedds/cyclonedds-python のほかの issue

eclipse-cyclonedds/cyclonedds-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。