Deserializing error for string type
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- embedded-iot, robotics
調査の方向性
ROS 2 Humbleを使用し、stringフィールドを含むサービス呼び出しをSTM32F767ZI上で再現してから、ネストされたメッセージ型の解析時にucdr_deserialize_sequence_headerで発生するexecutorの失敗を調査します。MCUがデシリアライズエラーなしでサービス呼び出しを受け付けて処理し、stringを含まないサービス呼び出しが引き続き動作すれば、issueは完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
String types in service types cause microROS on the MCU side to fail in the executor due to a deserializing error. Running it through a debugger it fails in ucdr_deserialize_sequence_header when parsing the nested message type.
Service calls with non-string types work as expected. I've verified it's not a buffer overflow since the buffer size >> bytes received. There is also no packet corruption in UDP traffic, the dest packet and src packet match 1:1.
To Reproduce
Steps to reproduce the behaviour:
- On MCU, init service with service type that has a string type
- On host side, call service
Expected behaviour
The MCU accepts the service call and handles accordingly.
Actual behaviour
Executor fails due to deserialization error.
System information (please complete the following information):
- OS: Ubuntu 22.04
- ROS 2 Humble
- MCU: STM32F767ZI
- 主要言語
- C++
- スター
- 201
- フォーク
- 111
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 10
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
micro-ROS/micro-ROS-Agent のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
micro-ROS/micro-ROS-Agent#270 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
micro-ROS/micro-ROS-Agent#266 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
micro-ROS/micro-ROS-Agent#265 · コメント 1 件 ·
micro-ROS/micro-ROS-Agent の issue をすべて見る
似ている issue
-
ai_reviewed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ydb-platform/ydb#53869 · コメント 3 件 ·
-
bug cert blocker needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conan-io/conan-center-index#31035 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
vllm-project/vllm-ascend#17329 ·