micro-ROS / micro-ROS/micro_ros_espidf_component

Micro-ros Ping utility issue

Aperta
#206 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C
Stelle
419
Fork
124
Merge medio
21h 35m
PR unite (30g)
3

Descrizione

Issue template

  • Hardware description: esp32s3 devkit
  • RTOS: freertos
  • Installation type: standard
  • Version or commit hash: humble
Steps to reproduce the issue

try the rmw_uros_ping_agent() utility to see whether the Agent is up or not it does not require creating a micro-ros context first...

Expected behavior

When I turn the Agent on it should output as RMW_RET_OK else it should throw an error value

Actual behavior

Screenshot from 2023-08-09 16-09-54
There is a variable called agent_state_flag in the code which gives 0 when agent is off and 1 when agent is on...

Screenshot from 2023-08-09 16-10-13
Here I have not started the agent yet

Screenshot from 2023-08-09 16-10-38
Here I have started the agent

Screenshot from 2023-08-09 16-09-54
Still it the rmw_uros_ping_agent() is not giving me a RMW_RET_OK even when the agent is alive

Additional information

Screenshot from 2023-08-09 16-11-22
The code snippet which I am using...

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 dal punto di ingresso segnalato rmw_uros_ping_agent() e riprodurre il comportamento sull’ESP32-S3 con l’Agent arrestato e in esecuzione. Confrontare il valore restituito con i valori segnalati di agent_state_flag e con il risultato previsto RMW_RET_OK. L’attività è completata quando l’utility distingue in modo affidabile un Agent disponibile da uno non disponibile.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.