micro-ROS / micro-ROS/micro-ROS-Agent

Agent stops relaying service response messages to DDS

Aperta
#199 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@Acuadros95 ci sta già lavorando.

Dal 6/7/2023.

Lingua principale
C++
Stelle
201
Fork
111
Merge medio
1g 6h
PR unite (30g)
10

Descrizione

After some amount of time the Agent can get itself into a state where it provides services, allows them to be called, forwards the messages onto to downstream micro but does not bridge the response back to the DDS

To Reproduce
Steps to reproduce the behaviour:

  1. Run agent ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 -v6
  2. Connect an MCU which provides a service
  3. Run a node on the device which hosts the agent which calls the service in a tight loop
  4. You will continue to see [==>> SER <<==] messages in the agent and logs in the MCU that the service call has been requested but no more [** <> **] agent messages
  5. ros2 cli service calls will also hang from this point onwards
  6. Restarting the agent gets everything back to normal

Expected behaviour
Agent should always bridge mcu to DDS and never need restarting

System information (please complete the following information):

  • OS: Debian 11
  • ROS 2 Humble and Iron
  • Version 4.0.3 on iron branch

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.