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

'eprosima::fastcdr::exception::NotEnoughMemoryException' what(): Not enough memory in the buffer stream error

Offen
#266 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

Hello?

Ubuntu version : 22.04
ROS2 version : Humble

When running micro-ros-agent, the following error occurs:

terminate called after throwing an instance of 'eprosima::fastcdr::exception::NotEnoughMemoryException' what(): Not enough memory in the buffer stream

Let me explain some situations when that error occurs.

  1. When running micro-ROS-agent on a Linux PC with Ubuntu22.04, ROS2 Humble installed, this device and another device are connected to the same network as a Linux PC with Ubuntu24.04, ROS Jazzy installed.

  2. When running micro-ROS-agent on a Linux PC with Ubuntu22.04, ROS2 Humble installed, when connecting to the same network as this device and another device with a Linux PC with Ubuntu24.04, ROS Jazzy installed and running ROS2 Node via SSH.

  3. When running micro-ROS-agent on a Linux PC with Ubuntu22.04, ROS2 Humble installed, when connecting to the same network as this device and another device with a Linux PC with Ubuntu24.04, ROS Jazzy installed, and entering ROS2 commands such as the ros2 topic list command and the ros2 topic echo /topic1 command via SSH.

This situation has occurred quite frequently, and my question is as follows:

  1. Do you know how to fix the following error?

terminate called after throwing an instance of 'eprosima::fastcdr::exception::NotEnoughMemoryException' what(): Not enough memory in the buffer stream

  1. Can that error occur simply because devices with different ROS2 versions (Humble, Jazzy) are connected to the same network?

  2. When devices with different ROS2 versions (Humble, Jazzy) are connected to the same network, can an error occur simply by entering the command to connect via SSH?

  3. When devices with different ROS2 versions (Humble, Jazzy) are connected to the same network, can the error occur when entering ROS2 commands or running ROS2 nodes?

If you know any of the questions I'm asking above, please help me.

Thank you.

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.

Rechercherichtung

Beginnen Sie damit, den micro-ROS-agent-Fehler in den beschriebenen Netzwerkszenarien Ubuntu 22.04/ROS 2 Humble und Ubuntu 24.04/ROS 2 Jazzy zu reproduzieren, einschließlich der SSH- und ROS 2-Befehlsfälle. Ermitteln Sie, ob gemischte ROS 2-Versionen die Fast CDR-Ausnahme auslösen, und dokumentieren Sie anschließend die Grundursache, die Kompatibilitätsanforderungen und eine verifizierte Lösung.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
distributed-systems, networking
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

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