slam(一):A-loam

scanRegistration学习:

(1)滤除无效点云部分:

        scanRegistration.cpp文件,removeClosedPointCloud函数:

        下面的if舍去了过近和过远的点云

        if (cloud_in.points[i].x * cloud_in.points[i].x + cloud_in.points[i].y * cloud_in.points[i].y + cloud_in.points[i].z * cloud_in.points[i].z < thres * thres || 
            cloud_in.points[i].x * cloud_in.points[i].x + cloud_in.points[i].y * cloud_in.points[i].y + cloud_in.points[i].z * cloud_in.points[i].z > 750
        )
            continue;   // 距离太近了就舍去    || 后面是距离太远了舍去的,默认值为400,这里改成750--hxz

报错相关

报错:QObject::~QObject: Timers cannot be stopped from another thread

解决方案:重新编译opencv,将选项WITHOUT_QT设为True

        参考:github issue。

参考链接:ORB-SLAM2:QObject::~QObject: Timers cannot be stopped from another thread_Yan-CSDN博客

https://github.com/raulmur/ORB_SLAM2/issues/418

@meng 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值