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).

Aperta
#803 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Shell
Stelle
509
Fork
183
Merge medio
22h 26m
PR unite (30g)
7

Descrizione

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_

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Iniziare dai file allegati uros_transport.c, hello_world.c e timer.c, tracciando la chiamata a rclc_executor_spin_some() e i valori di clock_gettime() sul core M33 di i.MX93. Confrontare il percorso dell’executor con il percorso rcl_publish() funzionante manualmente. Il lavoro è completato quando viene identificata la causa del mancato funzionamento dell’executor e viene documentato se la sorgente del clock o la configurazione della libreria statica ne è responsabile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c
Ambito
embedded-iot, robotics
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.