micro-ROS / micro-ROS/micro_ros_setup

I have been trying to implement the micro-ros in the i.MX93 (it has an m33 core mcu).

オープン
#803 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
509
フォーク
183
平均マージ
22時間 26分
マージ済み PR(30日)
7

説明

I have been trying to implement the micro-ros in the i.MX93 (it has an m33 core mcu).
What's already done:
1. Created a static library and linked to the mcuxpresso ide.
2. Implemented a custom transport function.
3. The setup has connected with the micro-ros agent, node and topic published.
But...
The rclc_executor_spin_some() is not working, i have tried multiple ways to invoke this but still can't figure out. My assumption reagarding the issue is that the time i am providing to the clock_gettime().
I have debugged the time functions of the mcu and getting the ticks values properly. But still the executor() is not working.

When the rcl_publish() is manually invoked the data is publishing to the topic.

How can i debug this issue. Will there be any issue with the static library that i have made first? if that's the case will this much steps work with the current setup?

How should i feed the time to the clock_gettime() ? if this ticks converted to sec and nsec not enough?
I have attached the files with this post, ROS Experts please help me.
Thank you.

[uros_transport.c](https://github.com/user-attachments/files/24434909/uros_transport.c)
[hello_world.c](https://github.com/user-attachments/files/24434911/hello_world.c)
[timer.c](https://github.com/user-attachments/files/24434912/timer.c)

_Originally posted by @Anandhu-Sudha in https://github.com/micro-ROS/micro_ros_setup/discussions/802_

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

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

調査の方向性

添付された uros_transport.c、hello_world.c、timer.c ファイルから始め、i.MX93 M33 コア上での rclc_executor_spin_some() の呼び出しと clock_gettime() の値を追跡します。executor の経路を、手動で動作している rcl_publish() の経路と比較します。executor が動作しない原因を特定し、clock 入力または static library の設定のどちらに原因があるのかを記録できれば完了です。

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

評価

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

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

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