From 66fbad0bf759a180730826b28505c1aca6847b1f Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Sat, 28 Jun 2025 22:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8F=8F=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 065290b..694bd76 100644 --- a/README.md +++ b/README.md @@ -106,4 +106,32 @@ rosrun position_demo subscriber_node.py rviz ``` 将RViz左侧 Global Options 面板中 Fixed Frame 改为程序中的 world 。 +在 Displays 面板中,点击 Add,添加 Marker 类型。 + +# 三 +编译工作空间 +```c +catkin_make +``` +启动roscore +```c +roscore +``` +添加环境变量 +```c +source /home/zmn/Gitea/ROS_Learn/devel/setup.bash +``` +启动发送端 +```c +rosrun position_demo publisher_node_three.py +``` +启动客户端 +```c +rosrun position_demo subscriber_node_three.py +``` +启动RViz +```c +rviz +``` +将RViz左侧 Global Options 面板中 Fixed Frame 改为程序中的 world 。 在 Displays 面板中,点击 Add,添加 Marker 类型。 \ No newline at end of file