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

Agent stops relaying service response messages to DDS

Offen
#199 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@Acuadros95 arbeitet bereits daran.

Seit 06.7.2023.

Vorherrschende Sprache
C++
Sterne
201
Forks
111
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
10

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.