Ubuntu16 and ROS Kinetic安装ROSPlan | Install ROSPlan with Ubuntu16 and ROS Kinetic

该文章首次编写于2020年1月24日,在该时间点后可能会有新的改变导致安装失败,如果有问题请查看官方文档的更新或给我评论。

我假设你已经安装了ROS核心组件

首先,安装依赖

然后创建一个存放ROSPlan包的工作空间,我假设你使用 ~/ros_playground .

打开这个工作空间的src目录,克隆所需要的文件

 

然后,返回上一级目录,编译

 

使用下面的命令为数据库创建一个文件夹,否则你后面会遇到类似下面的错误

Can’t find database at supplied path ~/ros_playground/src/ROSPlan/rosplan_knowledge_base/common/mongoDB/. If this is a new DB, create it as an empty directory

 

现在,你可以返回官网继续教程了,在启动 tutorial_01.launc 之前别忘了运行 roscore


This article is written on 24 Jan 2020. Some materials may be expired after that time, please check the latest related documents.

Install the following dependencies.

 

Select or create a workspace for the ROSPlan package. I assume you are using ~/ros_playground .

Go to the source folder of your workspace and clone all the necessary packages by using Git.

 

Go to the parent directory and compile these packages

 

Create an empty directory for the new database or you will get an error such like Can’t find database at supplied path ~/ros_playground/src/ROSPlan/rosplan_knowledge_base/common/mongoDB/. If this is a new DB, create it as an empty directory

 

Now, you can try to back to the official tutorial. Please remind before you execute the tutorial_01.launch  you need to run a ROS master node at first. For example, try to execute

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注