Ubuntu 下 OMPL 的安装与使用

16 篇文章 1 订阅

OMPL 库的简介:

OMPL(The Open Motion Planning Library) 运动规划库。可以实现以PRM(Probabilistic Roadmap Method ) 和 RRT为基础的各种基于概率的规划算法。如PRM系列(Lazy PRM/PRM*/LazyPRM* 、SPARS(SPARS2)、RRT系列(RRT/RRT Connect/RRT*等)、EST、KPIECE、STRIDE、PDST、FMT* 、BFMR*等。

官方文档

比较好的介绍:https://blog.csdn.net/wuguangbin1230/article/details/86491929

介绍:https://zhenshenglee.github.io/2016/09/03/160903-ompl1/

OMPL库的安装:

安装指南:https://blog.csdn.net/july0404/article/details/51153172

OMPL的使用例子:

1)无障碍物的3d RRT规划:https://blog.csdn.net/july0404/article/details/51153172

2)有障碍的2D RRT 规划: https://blog.csdn.net/ljq31446/article/details/79714728

3)环境是通过自定义的栅格地图(txt文档)进行 2D RRT规划: https://blog.csdn.net/ljq31446/article/details/79728814

4)环境是通过图片像素点来定义的 2DRRT 规划:https://blog.csdn.net/ljq31446/article/details/79798969

5)2D RRT star 优化规划: https://blog.csdn.net/qcxyliyong/article/details/103380043

6)http://ompl.kavrakilab.org/optimalPlanningTutorial.html

7) https://www.cnblogs.com/shhu1993/p/7062099.html?utm_source=debugrun&utm_medium=referral

https://github.com/ayushgaud/path_planning

https://github.com/yxdfighting/ros_pathplanning/blob/master/zed_ros_pathplanning/src/pathplanning.cpp

https://github.com/tavoregna/ompl_planner

https://github.com/Jaeyoung-Lim/mav_ompl_planning

https://github.com/tony23545/ompl_tutorial

看完这几个例子之后,再对照了解一下OMPL的API框图,可能会有比较深的理解。

常见问题 :

1)cmake 找不到OMPLConfig.cmake

CMake Error at grid_path_searcher/CMakeLists.txt:13 (find_package):
  By not providing "FindOMPL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OMPL", but
  CMake did not find one.

  Could not find a package configuration file provided by "OMPL" with any of
  the following names:

    OMPLConfig.cmake
    ompl-config.cmake

  Add the installation prefix of "OMPL" to CMAKE_PREFIX_PATH or set
  "OMPL_DIR" to a directory containing one of the above files.  If "OMPL"
  provides a separate development package or SDK, be sure it has been
  installed.

解决方法: 

$  sudo apt-get install ros-kinetic-ompl*


参考:https://blog.csdn.net/weixin_39266503/article/details/88648002

  • 5
    点赞
  • 51
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
回答: 在Ubuntu 20.04上安装OMPL的Python绑定,可以按照以下步骤进行操作。首先,从官方网站下载OMPL安装脚本。然后,运行脚本来安装OMPL。在运行脚本时,可以使用不同的选项来安装不同版本的OMPL和Python绑定。比如,使用"./install-ompl-ubuntu.sh"命令可以安装最新版本的OMPL但不包含Python绑定,使用"./install-ompl-ubuntu.sh --python"命令可以安装最新版本的OMPL和Python绑定。如果遇到安装过程中的问题,可能需要注意一些事项,比如编译过程中需要较大的内存和swap空间,可以在编译前增加swap空间来避免报错。此外,安装脚本中使用的是系统Python而不是虚拟环境中的Python,如果希望使用虚拟环境中的Python安装OMPL,可能需要在虚拟环境中逐个安装所需的依赖,然后进行编译和更新绑定。然而,这种方式可能较为复杂且容易出错。因此,建议直接使用官方提供的安装脚本进行安装。希望这些信息对您有所帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [【OMPL】1- Ubuntu 20.04安装教程](https://blog.csdn.net/weixin_45355406/article/details/127477844)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [Ubuntu(16.04+20.04)安装OMPL(app+python)机器人运动规划库](https://blog.csdn.net/qq_42674415/article/details/115160042)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值