You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subscriptions silently drop when agent branch doesn't match client distro — undocumented #270
Version or commit hash: client on jazzy branch; agent 6.0.0
Steps to reproduce the issue
Build a Zephyr firmware client from the jazzy branch of micro_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 -v6 shows 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.
Activity