Subscriptions silently drop when agent branch doesn't match client distro — undocumented
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- cpp
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với README của repository và xem lại hướng dẫn về phiên bản agent/client trong đó, sử dụng các branch humble, jazzy và rolling được nêu làm các trường hợp tương thích. Thêm một ghi chú rõ ràng rằng branch của agent phải khớp với bản phân phối ROS của client; công việc tài liệu được hoàn tất khi yêu cầu này và rủi ro lỗi im lặng được nêu rõ, không thể hiểu nhầm. Issue không nêu test nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 201
- Fork
- 111
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 10
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của micro-ROS/micro-ROS-Agent
-
micro-ROS Agent on macOS Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro-ROS-Agent#266 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
micro-ROS/micro-ROS-Agent#265 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro-ROS-Agent#258 ·
Tất cả issue của micro-ROS/micro-ROS-Agent
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AXERA-TECH/ax-llm#77 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
games-on-whales/wolf#509 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
bug-unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NVIDIA/cuda-samples#453 ·