micro-ROS / micro-ROS/micro-ROS.github.io

Call service in Micro-ROS while using custom QOS settings

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

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

主要言語
SCSS
スター
127
フォーク
71
PR マージ指標
30日以内にマージされた PR はありません

説明

  • Hardware description: Portenta H7 & Ubuntu 22.04 PC
  • Version or commit hash: humble with custom ros2 packages

While using custom QOS Settings as described in https://micro.ros.org/docs/tutorials/advanced/create_dds_entities_by_ref/, creating a client for a service using Micro-ROS fails with an error:
[XMLPARSER Error] Error parsing XML buffer -> Function loadXML

The MicroRos Arduino library has been re-compiled to include custom ROS2 message and service types, and also configured to use custom QOS via references, as explained in the previous link.

The same code can run without that service client, while using different topics and message types, as they have been correctly defined in the "custom_qos.refs". The problem comes in when trying to add a service, as I haven't found a way to set up the QOS for a service and its request/response.

If the MicroRos Arduino library is compiled without the QOS reference setting, the client also works as expected.

So far, I tried to include the service as if it were a topic but using "rs" instead of "rt", according to the ROS Specific Namespace Prefixes standard here. I also tried to replicate the configuration laid out in this ROS2 tutorial, but using a similar approach for the "custom_qos.refs" file did not work.

What's the way moving forward? Is there a way to use both custom QOS settings and ROS2 services in Micro-ROS? Or should I choose only the custom QOS or the services?

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

カスタム QoS 参照を有効にした Portenta H7 と Ubuntu 22.04 の構成で、サービスクライアントの失敗を再現する。custom_qos.refs と、リンクされている Micro-ROS DDS-entities および ROS 2 Fast DDS configuration のチュートリアルから始め、サービスのリクエスト/レスポンス名を、動作している topic エントリと比較する。動作する構成を文書化するか、カスタム QoS 参照とサービスの非互換性を確認できれば完了とする。

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

評価

技術スタック
arduino, ubuntu
領域
embedded-iot, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
32/100

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

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