{"id":40328,"date":"2023-09-30T08:40:56","date_gmt":"2023-09-30T00:40:56","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40328"},"modified":"2023-09-30T08:40:56","modified_gmt":"2023-09-30T00:40:56","slug":"ljrynyzjjczxdjszh","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40328.html","title":{"rendered":"\u8fde\u63a5 ROS2 \u4e0e Node-RED\uff1a\u4e00\u79cd\u6781\u5177\u521b\u9020\u6027\u7684\u6280\u672f\u7ec4\u5408"},"content":{"rendered":"
ROS2 \u4e0e Node-RED \u662f\u4e00\u79cd\u6781\u5177\u521b\u9020\u6027\u7684\u6280\u672f\u7ec4\u5408\uff0c\u5b83\u4eec\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002ROS2 \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u673a\u5668\u4eba\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u673a\u5668\u4eba\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c Node-RED \u662f\u4e00\u4e2a\u53ef\u89c6\u5316\u7684\u6d41\u7f16\u7a0b\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u53ef\u63a7\u5236\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ROS2 \u8fde\u63a5 Node-RED\uff0c\u4ee5\u53ca\u5b83\u4eec\u5404\u81ea\u7684\u4f18\u70b9\u548c\u7f3a\u70b9\u3002<\/p>\n
ROS2 \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u673a\u5668\u4eba\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u6784\u5efa\u673a\u5668\u4eba\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u63d0\u4f9b\u4e00\u7cfb\u5217\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u4f8b\u5982\u8282\u70b9\u3001\u6d88\u606f\u4f20\u8f93\u3001\u670d\u52a1\u3001\u53c2\u6570\u7b49\u3002ROS2 \u4e0e ROS1 \u7684\u6700\u5927\u533a\u522b\u662f\u5b83\u5177\u6709\u66f4\u5f3a\u5927\u7684\u5b89\u5168\u6027\uff0c\u5e76\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f8b\u5982 C\u3001C++\u3001Python \u7b49\u3002ROS2 \u8fd8\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u4e0d\u540c\u7684\u529f\u80fd\u5305\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002<\/p>\n
Node-RED \u662f\u4e00\u4e2a\u53ef\u89c6\u5316\u7684\u6d41\u7f16\u7a0b\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u53ef\u63a7\u5236\u7684\u5e94\u7528\u7a0b\u5e8f\u3002Node-RED \u4f7f\u7528\u53ef\u89c6\u5316\u7684\u62d6\u62fd\u754c\u9762\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4e0d\u9700\u8981\u7f16\u5199\u4efb\u4f55\u4ee3\u7801\u3002Node-RED \u8fd8\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u6a21\u5757\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n
ROS2 \u4e0e Node-RED \u53ef\u4ee5\u901a\u8fc7\u4e00\u79cd\u7279\u6b8a\u7684\u6280\u672f\uff0c\u79f0\u4e3a MQTT\uff0c\u8fdb\u884c\u8fde\u63a5\u3002MQTT \u662f\u4e00\u79cd\u53d1\u5e03\/\u8ba2\u9605\u6a21\u5f0f\u7684\u6d88\u606f\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5bb9\u6613\u5730\u8fde\u63a5 ROS2 \u4e0e Node-RED\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528 MQTT \u534f\u8bae\u5c06 ROS2 \u7684\u6d88\u606f\u53d1\u5e03\u5230 Node-RED \u4e2d\uff0c\u5e76\u4f7f\u7528 Node-RED \u7684\u6a21\u5757\u6765\u5904\u7406\u8fd9\u4e9b\u6d88\u606f\u3002<\/p>\n
ROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002ROS2 \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u6784\u5efa\u673a\u5668\u4eba\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c Node-RED \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u53ef\u89c6\u5316\u7684\u6a21\u5757\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u53ef\u63a7\u5236\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n
\u7136\u800c\uff0cROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\u3002\u9996\u5148\uff0cROS2 \u7684\u6d88\u606f\u4f20\u8f93\u7cfb\u7edf\u6bd4 Node-RED \u7684\u6d88\u606f\u4f20\u8f93\u7cfb\u7edf\u8981\u590d\u6742\u5f97\u591a\uff0c\u56e0\u6b64\u5f00\u53d1\u8005\u5728\u4f7f\u7528 ROS2 \u65f6\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u65f6\u95f4\u6765\u7406\u89e3\u548c\u4f7f\u7528\u5b83\u3002\u5176\u6b21\uff0cROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u9700\u8981\u4f7f\u7528 MQTT \u534f\u8bae\uff0c\u56e0\u6b64\u5f00\u53d1\u8005\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u65f6\u95f4\u6765\u7406\u89e3\u548c\u4f7f\u7528\u5b83\u3002<\/p>\n
ROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002ROS2 \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u6784\u5efa\u673a\u5668\u4eba\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c Node-RED \u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u53ef\u89c6\u5316\u7684\u6a21\u5757\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u53ef\u63a7\u5236\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u7136\u800c\uff0cROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\uff0c\u4f8b\u5982\u6d88\u606f\u4f20\u8f93\u7cfb\u7edf\u7684\u590d\u6742\u6027\u548c MQTT \u534f\u8bae\u7684\u4f7f\u7528\u3002\u603b\u800c\u8a00\u4e4b\uff0cROS2 \u4e0e Node-RED \u7684\u7ed3\u5408\u662f\u4e00\u79cd\u6781\u5177\u521b\u9020\u6027\u7684\u6280\u672f\u7ec4\u5408\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
ROS2\u4e0eNode-RED\u662f\u4e00\u79cd\u6781\u5177\u521b\u9020\u6027\u7684\u6280\u672f\u7ec4\u5408\uff0c\u5b83\u4eec\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u3001\u66f4\u5bb9\u6613\u5730\u6784\u5efa\u673a\u5668\u4eba\u7cfb\u7edf\u3002ROS2\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u673a\u5668\u4eba\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-40328","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=40328"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40328\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=40328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}