开源地址:https://github.com/open-rmf

参考链接:https://blog.csdn.net/wei242425445/article/details/115053678

10、安装说明

安装附加工具

sudo apt-get install libgflags-dev
sudo apt install npm
pip3 install pipenv
sudo apt update && sudo apt install curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
nvm install 12

下载源

$ mkdir demo && cd demo
$ mkdir src
$ git clone -v https://github.com.cnpmjs.org/open-rmf/rmf.git

1
2
3

如果github下载太慢,可以修改rmf.repos
github.com改为github.com.cnpmjs.org

$ vcs import src < rmf/rmf.repos
$ colcon build

1
2

运行
设置环境

$ source install/setup.bash

1

Traffic Editor

Traffic Editor是用于处理机器人交通流程的图形编辑器。

$ traffic-editor

1

在这里插入图片描述
运行基础模型

$ ros2 launch rmf_demos office.launch.xml

1

office.launch.xml的目录结构
在这里插入图片描述在这里插入图片描述
运行前端界面

$ git clone https://github.com/open-rmf/rmf-web
$ cd rmf-web
$ npm run bootstrap
$ cd packages/dashboard/
$ npm start

1
2
3
4
5

前端的编译暂时无法运行,后续成功再补上,可先通过命令产生任务
发送任务

另起一个终端执行下面的命令

$ source install/setup.bash
$ ros2 run rmf_demos_tasks dispatch_loop -s coe -f lounge -n 3 --use_sim_time

1
2

在这里插入图片描述
————————————————
版权声明:本文为CSDN博主「持之以恒2016」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wei242425445/article/details/115053678

Q.E.D.


行走在天地间自由的灵魂