micro-ROS / micro-ROS/micro-ROS.github.io
micro-ROS publisher always printing "dat:0" on ROS2 echo instead of the updated values
まだ誰も着手していません。
- 主要言語
- SCSS
- スター
- 127
- フォーク
- 71
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am working on a micro-ROS example on a TRAVEO™ T2G MCU using a custom UART transport. The code is based on the "data
" style micro-ROS publisher/subscriber example, but I have modified it slightly.
Here is the situation:
-
I have a publisher that is supposed to send an integer value (std_msgs/msg/Int32) periodically using a ROS timer.
-
I am running ros2 topic echo /traveo_publisher on the host PC to see the published messages this will give value never changes to from 0 . it is publishing periodically but within same incorrect value.
-
I am successfully connecting to the ROS 2 agent (no connection error), and I do see messages being published.
-
However, the message always shows data: 0 instead of the value I expect (for example 123 or incrementing numbers).
-
The value does not update continuously as I move around in my code or directory — it just stays the same in ROS 2 echo output.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
添付された MAIN.C 6.txt ファイルと micro-ROS のデータパブリッシャー/サブスクライバーの例から始め、次に TRAVEO T2G custom UART transport に対して ros2 topic echo /traveo_publisher を実行します。std_msgs/msg/Int32 の値がどこで割り当てられ、パブリッシュされているかを追跡します。echo の出力が常に data: 0 を表示するのではなく、期待される値またはインクリメントされた値を反映すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c
- 領域
- embedded-iot, robotics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100