teb_local_planner中costmap_converter wiki安装使用教程(可视化、图形化例程)

costmap_converter 是teb中的一部分,因此需要teb配合使用
teb_local_planner官方介绍点这
teb官方教程
teb的安装与demo安装
下面以melodic版本为例

安装teb_local_planner

1.从官方 ROS 存储库安装 teb_local_planner 包(二进制安装)

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

2.teb_local_planner例程源代码安装

cd ~/catkin-ws/src
git clone https://github.com/rst-tu-dortmund/teb_local_planner_tutorials.git
# install dependencies, e.g.
sudo apt-get install ros-kinetic-stage-ros

插件激活

rospack plugins --attrib=plugin costmap_converter

安装完成后测试

roslaunch teb_local_planner_tutorials  robot_omnidir_in_stage.launch 
如果执行这一行出错请看,本文最后的补充

出现下图障碍物的红色就是开启了costmap_converter在这里插入图片描述

参考文章如下

关于 costmap_converter 使用
https://blog.csdn.net/weixin_42621524/article/details/120721270
teb算法解析
https://zhuanlan.zhihu.com/p/438754131#:~:text=%E9%A6%96%E5%85%88%E6%98%AF%22cost,%E7%AE%97%E4%BB%A3%E4%BB%B7%E4%BC%9A%E9%9D%9E%E5%B8%B8%E5%A4%A7%E3%80%82
teb与teb例程的安装
https://www.ncnynl.com/archives/201809/2599.html
teb安装的官方教程
http://wiki.ros.org/teb_local_planner/Tutorials/Setup%20and%20test%20Optimization
关于teb参数的解释
https://blog.csdn.net/weixin_44917390/article/details/107568507

补充:
1在cd ~/catkin_ws/src 之前创建catkin_ws文件夹和src文件夹
Linux中怎么创建文件夹点这儿
2.执行git clone https://github.com/rst-tu-dortmund/teb_local_planner_tutorials.git后需要返回catkin_ws目录下执行下面的命令,编译工作空间

catkin_make

在执行 launch 命令运行对应的.launch文件就行
例如

roslaunch teb_local_planner_tutorials  robot_omnidir_in_stage.launch 

3.roslaunch 还报错,j进入catkin_ws文件夹在命令行输入

source devel/setup.bash

如果对您有帮助,请点赞或关注谢谢,博主坚持更新。
如果有叙述不清楚的地方欢迎评论和加qq:2659416214交流,谢谢。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值