micro-ROS / micro-ROS/micro_ros_setup

ensuring agent is acting as agent for all that it should

未关闭
#560 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Shell
星标
509
派生
183
平均合并
22 小时 26 分钟
30 天内合并 PR
7

描述

How to guarantee that agent is representing all publishers, nodes etc as requested?

related to the following issues and PRs:

https://github.com/micro-ROS/micro_ros_arduino/issues/40
https://github.com/micro-ROS/micro_ros_setup/issues/299
https://github.com/micro-ROS/micro_ros_setup/issues/256
https://github.com/micro-ROS/rmw_microxrcedds/pull/86/files
https://github.com/micro-ROS/micro_ros_setup/issues/347
https://github.com/micro-ROS/rmw_microxrcedds/pull/143/files
https://github.com/micro-ROS/micro_ros_arduino/issues/912

it appears the consensus is to use `rmw_uros_ping_agent` to detect the loss of agent communications, `fini*` and reinit all the bits, as exemplified here https://github.com/micro-ROS/micro_ros_arduino/blob/galactic/examples/micro-ros_reconnection_example/micro-ros_reconnection_example.ino

The communications with the agent is often over UDP, so its possible just to miss one of several init packets?
In this case the agent would be operating normally, and perhaps we wouldnt notice our missing service for a while.

Is it possible to periodically get the XRCE protocol to re-announce to the agent the set of nodes, topics etc, so that it would self recover?
Or is it feasible to implement some kind of "Tell me how you are configured, and I'll compare it to my idea of what I think you should be doing" handshaking in the protocol between agent and microros?

贡献指南

打开贡献指南

调研方向

从链接的 micro-ros_reconnection_example.ino 开始,将其 rmw_uros_ping_agent、fini* 和重新初始化流程与相关的 issue 和 pull request 进行比较,尤其是 rmw_microxrcedds 的更改。明确 XRCE 定期重新通告或 agent-client 配置握手是否可行,然后定义双方认可的恢复行为及其验证用例。

由索引模型根据 Issue 内容生成。

评估

技术栈
arduino
领域
distributed-systems, embedded-iot, networking
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
15/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。