# master-slave
1. Create a package (catkin_create_pkg) named stage_ms and copy the files from this repository.
2. Open a new terminal and source the catkin_ws/devel/setup.bash file
```
source catkin_ws/devel/setup.bash
```
3. Execute the following command:
```
roslaunch stage_ms OnYourMarkGetSetGo.launch
```
You should see the sim.world file opened in the stage simulator and you will find two robots in it (Blue-Master and Green-Slave)
You should see the blue robot wandering without hitting any obstacles and the green robot following the blue one and avoiding the obstracles along its path.
The link to the video demonstration is https://youtu.be/ono9Ie8n6ok
Happy Coding !! :-)
没有合适的资源?快使用搜索试试~ 我知道了~
ros机器人 主从跟随 主从编队 gazebo
共34个文件
sample:11个
head:4个
cpp:3个
需积分: 5 15 下载量 95 浏览量
2023-03-28
16:23:44
上传
评论 2
收藏 59KB RAR 举报
温馨提示
主从跟随编队机器人程序 使用gazebo仿真
资源推荐
资源详情
资源评论
收起资源包目录
master-slave.rar (34个子文件)
master-slave
CMakeLists.txt 7KB
src
master.cpp 5KB
tf_broadcaster.cpp 1KB
slave_tf_listener.cpp 6KB
package.xml 4KB
.git
index 987B
HEAD 23B
refs
heads
master 41B
tags
remotes
origin
HEAD 32B
objects
pack
pack-d234f7ddc32c35f3930cc6f98661d9e583aae34a.idx 4KB
pack-d234f7ddc32c35f3930cc6f98661d9e583aae34a.pack 30KB
info
description 73B
packed-refs 183B
info
exclude 240B
logs
HEAD 202B
refs
heads
master 202B
remotes
origin
HEAD 202B
hooks
post-update.sample 189B
prepare-commit-msg.sample 1KB
commit-msg.sample 896B
pre-receive.sample 544B
update.sample 4KB
pre-commit.sample 2KB
pre-rebase.sample 5KB
applypatch-msg.sample 478B
fsmonitor-watchman.sample 3KB
pre-applypatch.sample 424B
pre-push.sample 1KB
config 277B
branches
launch
NoMaster.launch 441B
OnYourMarkGetSetGo.launch 499B
README.md 706B
world
cave.png 3KB
sim.world 1KB
共 34 条
- 1
资源评论
weixin_42688066
- 粉丝: 3
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功