安装使用teb


一、安装teb

1.先把功能包放入src中,然后编译。
可在ROS的src下编译,也可以单独编译功能包。
单独编译操作为,在 catkin_ws/src 下执行
catkin_make -DCATKIN_WHITELIST_PACKAGES=“源码存放的文件夹名字”

2.编译报错:

-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Could NOT find costmap_converter (missing: costmap_converter_DIR)
-- Could not find the required component 'costmap_converter'. The following CMake error indicates that youn be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "costmap_converter"
  with any of the following names:

    costmap_converterConfig.cmake
    costmap_converter-config.cmake

  Add the installation prefix of "costmap_converter" to CMAKE_PREFIX_PATH or
  set "costmap_converter_DIR" to a directory containing one of the above
  files.  If "costmap_converter" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  teb_local_planner-melodic/CMakeLists.txt:8 (find_package)

3.安装缺失的依赖

rosdep install teb_local_planner

4.再次编译即可

二、运行teb

1.运行机器人,会自动调用teb功能包,但是出现错误:
在这里插入图片描述
2.解决问题
安装错误里提示的依赖:teb_local_planner

sudo apt install ros-melodic-teb-local-planner

3.再次运行,即可正常使用


注:
1.未经许可请勿转载
2.部分内容参考 link

  • 2
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值