当前位置:网站首页>ROS 话题通信理论模型
ROS 话题通信理论模型
2022-08-11 05:36:00 【-素心向暖】

角色 —> 流程 —> 注意
角色
- master -----> 管理者(媒婆)管理匹配话题
- talker -------> 发布者(男方)
- listener -----> 订阅者(女方)
流程
master 可以根据话题建立发布者和订阅者之间的连接。
男方提交自身信息
话题(房) — RPC 地址(手机号)女方提交自身信息
话题(房)把男方的电话发送给女方
女方打电话给男方
男方响应(加微信)
女方加男方微信
发布消息
注意
- 使用的协议有 RPC 和 TCP
- 步骤0和步骤1没有顺序关系
- talker 和 listener 都可以存在多个
- talker 和 listener 建立连接后,master 就可以关闭了
- 上述实现流程已经封装了,以后直接调用即可
话题通信应用时的关注点
- 大部分实现已经被封装了
- 话题设置
- 关注发布者实现
- 关注订阅者实现
- 关注消息载体
边栏推荐
猜你喜欢
随机推荐
已解决EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo
Eight-legged text jvm
OA项目之会议通知(查询&是否参会&反馈详情)
HCIP WPN实验
Attitude solution - gyroscope + Euler method
Daily SQL - find each of the students school gpa minimum (window)
Douyin get douyin share password url API return value description
HCIP BGP建邻、联邦、汇总实验
OA项目之项目简介&会议发布
抖音关键词搜索商品-API工具
一个小时快速熟悉MySQL基本用法
李沐d2l(十)--卷积层Ⅰ
亚马逊获得AMAZON商品详情 API 返回值说明
阿里巴巴规范之POJO类中布尔类型的变量都不要加is前缀详解
Daily sql--statistics the total salary of employees in the past three months (excluding the latest month)
华为防火墙-2-状态检测与会话
iptables 基础配置
从 dpdk-20.11 移植 intel E810 百 G 网卡 pmd 驱动到 dpdk-16.04 中
《Generative Adversarial Networks》
京东商品详情API调用实例讲解








