ros gmapping 运行错误(Assertion 'beams)
在使用真实激光器发布数据的时候,出现了
Laser is mounted upward警告,
以及slam_gmapping: /tmp/buildd/ros-hydro-openslam-gmapping-0.1.0-2precise-20140617-1746/scanmatcher/scanmatcher.cpp:563: void GMapping::ScanMatcher::setLaserParameters(unsigned int, double*, const OrientedPoint&): Assertion ‘beams LASER_BEAMS>failed.
【ros gmapping 运行错误(Assertion 'beams)】这个问题主要是因为LASER_BEAMS默认为2048而激光器扫描一周的点数比较多,因此只要将LASER_BEAMS设置大一些就行。
具体在 openslam_gmapping/include/smatch.h文件中
由于是解决了问题之后才写的这篇文章,文件名和路径名字可能有些差异,只写了个大概
推荐阅读
- 在珠海賞植物──【粉花夾竹桃】Rose|在珠海賞植物──【粉花夾竹桃】Rose oleander
- 运行报错Cannot|运行报错Cannot find module '@babel/compat-data/corejs3-shipped-proposals’
- Python程序运行方式
- Flink总结-运行命令参数分析
- 伦敦市长萨迪克汗Crossrail受挫,转进准备引入租金管控。
- Android免Root|Android免Root 修改程序运行时内存指令逻辑(Hook系统函数)
- iOS-OC运行时
- 小知识点
- Fourth|Fourth season twenty-first episode,Ross invited Rachel to his wedding,what will happen?
- 2018年3月19日(星期一)如意区环境卫生综合整治提升精细化作业工作内容、青城驿站运行及整改情况(上)