Subscriptions silently drop when agent branch doesn't match client distro — undocumented
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Anfängerfreundlichkeit
- 68/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- cpp
- Bereich
- documentation
Rechercherichtung
Beginne mit der README des Repositorys und überprüfe die dortigen Hinweise zu den Agent-/Client-Versionen, wobei die gemeldeten Branches humble, jazzy und rolling als Kompatibilitätsfälle verwendet werden. Füge einen klaren Hinweis hinzu, dass der Agent-Branch zur ROS-Distribution des Clients passen muss; die Dokumentationsarbeit ist abgeschlossen, wenn diese Anforderung und das Risiko eines stillen Fehlers unmissverständlich sind. Im Issue wird kein Test genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hi,
Spent a while chasing a bug that turned out to be agent ↔ client version mismatch.
- Hardware description: STM32G491 (Cortex-M4), custom board, serial UART transport
- RTOS: Zephyr 4.1.x
- Installation type: modules (
micro_ros_zephyr_module, jazzy branch) - Version or commit hash: client on
jazzybranch; agent6.0.0
Steps to reproduce the issue
- Build a Zephyr firmware client from the
jazzybranch ofmicro_ros_zephyr_module. Add at least one publisher and one subscription on the same node. - Run micro_ros_agent 6.0.0 (built from source) with serial transport, pointed at the firmware.
- From host (ROS 2 jazzy),
ros2 topic echo <firmware_pub_topic>— works, data is visible. - From host,
ros2 topic pub <firmware_sub_topic> .... Subscription callback never fires on the firmware. Agent log at-v6shows DATA submessages being forwarded toward the client. - Stop everything.
git clonemicro-ROS-Agent,git checkout jazzy, build from source, restart with the same args. - Subscription callback fires correctly on the first try.
Expected behavior
Either:
- Tagged agent releases interoperate with any matching client, or
- A loud error / log line at session-establish when agent and client XRCE protocol versions don't line up.
Actual behavior
Subscription messages are silently dropped on the way to the client. No error, no warning, no log line at any verbosity. Publishers in the same direction work fine, so it looks superficially like a working session.
Additional information
The README doesn't mention that the agent branch has to match the client's ROS distro at runtime. Two asks:
- Docs: add a compatibility note to the README — the agent must be built from the branch matching the client's distro (
humble,jazzy,rolling). Happy to PR this. - Optional: at session-establish, log both the agent's and the client's claimed XRCE protocol version so a mismatch is loud rather than silent.
- Vorherrschende Sprache
- C++
- Sterne
- 201
- Forks
- 111
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 10
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus micro-ROS/micro-ROS-Agent
-
micro-ROS Agent on macOS Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
micro-ROS/micro-ROS-Agent#266 · 1 Kommentar ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
micro-ROS/micro-ROS-Agent#265 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
micro-ROS/micro-ROS-Agent#258 ·
Alle Issues in micro-ROS/micro-ROS-Agent
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
AXERA-TECH/ax-llm#77 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
games-on-whales/wolf#509 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
-
bug-unconfirmed
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100