完善描述文档
This commit is contained in:
parent
294d201664
commit
66fbad0bf7
28
README.md
28
README.md
@ -107,3 +107,31 @@ rviz
|
|||||||
```
|
```
|
||||||
将RViz左侧 Global Options 面板中 Fixed Frame 改为程序中的 world 。
|
将RViz左侧 Global Options 面板中 Fixed Frame 改为程序中的 world 。
|
||||||
在 Displays 面板中,点击 Add,添加 Marker 类型。
|
在 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 类型。
|
Loading…
x
Reference in New Issue
Block a user