ORB-SLAM2_RGBD_DENSE_MAP icon indicating copy to clipboard operation
ORB-SLAM2_RGBD_DENSE_MAP copied to clipboard

点云viewer 只有坐标系 没有稠密图

Open wanbin19921212 opened this issue 5 years ago • 11 comments

wanbin19921212 avatar May 31 '19 02:05 wanbin19921212

配置文件相比原来的新增了三个参数,不加的话就没有点云地图

LiHeng2015 avatar Jun 07 '19 03:06 LiHeng2015

楼上正确,点云滤波用的三个参数

xiaobainixi avatar Nov 18 '19 07:11 xiaobainixi

配置文件相比原来的新增了三个参数,不加的话就没有点云地图

请问是哪个配置文件啊?

Escapexin avatar Jan 07 '20 13:01 Escapexin

请问怎么修改配置文件呀,谢谢了

RaymondChanSZU666 avatar Jul 21 '20 13:07 RaymondChanSZU666

请问在哪个配置文件添加?

DK-HU avatar Jun 01 '21 07:06 DK-HU

请问您指的是 TUMX.yaml 中最后加的如下三个参数么? 如果是的话,参数是有的,但还是不能先是稠密点云。请问可能会是什么原因呢? PointCloudMapping.Resolution: 0.01 meank: 50 thresh: 2.0

mengyao-wang avatar Nov 26 '21 07:11 mengyao-wang

没解决呢🤦‍♀️

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年05月12日 23:13 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [xiaobainixi/ORB-SLAM2_RGBD_DENSE_MAP] 点云viewer 只有坐标系 没有稠密图 (#4) |

请问解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

mengyao-wang avatar May 12 '22 15:05 mengyao-wang

请问您指的是 TUMX.yaml 中最后加的如下三个参数么? 如果是的话,参数是有的,但还是不能先是稠密点云。请问可能会是什么原因呢? PointCloudMapping.Resolution: 0.01 meank: 50 thresh: 2.0

修改这三个参数没用的。 它不显示,是因为始终点云处于更新,所以显示线程被阻塞了。 /src/pointcloudmapping.cc中39行附近。改成这样: PointCloudMapping::PointCloudMapping(double resolution_,double meank_,double thresh_) { this->resolution = resolution_; this->meank = meank; this->thresh = thresh_; statistical_filter.setMeanK(meank); statistical_filter.setStddevMulThresh(thresh); voxel.setLeafSize( resolution, resolution, resolution); globalMap.reset(new PointCloud); loopbusy=false; viewerThread = make_shared( bind(&PointCloudMapping::viewer, this ) ); } 2022-06-27_15-49 上图是我的测试结果,祝好运。

NeedForNoodles avatar Jun 27 '22 07:06 NeedForNoodles

请问您指的是 TUMX.yaml 中最后加的如下三个参数么? 如果是的话,参数是有的,但还是不能先是稠密点云。请问可能会是什么原因呢? PointCloudMapping.Resolution: 0.01 meank: 50 thresh: 2.0

修改这三个参数没用的。 它不显示,是因为始终点云处于更新,所以显示线程被阻塞了。 /src/pointcloudmapping.cc中39行附近。改成这样: PointCloudMapping::PointCloudMapping(double resolution_,double meank_,double thresh_) { this->resolution = resolution_; this->meank = meank; this->thresh = thresh_; statistical_filter.setMeanK(meank); statistical_filter.setStddevMulThresh(thresh); voxel.setLeafSize( resolution, resolution, resolution); globalMap.reset(new PointCloud); loopbusy=false; viewerThread = make_shared( bind(&PointCloudMapping::viewer, this ) ); } 2022-06-27_15-49 上图是我的测试结果,祝好运。

解决了!非常感谢!

Janebek avatar Sep 11 '22 16:09 Janebek

请问您指的是 TUMX.yaml 中最后加的如下三个参数么? 如果是的话,参数是有的,但还是不能先是稠密点云。请问可能会是什么原因呢? PointCloudMapping.Resolution: 0.01 meank: 50 thresh: 2.0

修改这三个参数没用的。 它不显示,是因为始终点云处于更新,所以显示线程被阻塞了。 /src/pointcloudmapping.cc中39行附近。改成这样: PointCloudMapping::PointCloudMapping(double resolution_,double meank_,double thresh_) { this->resolution = resolution_; this->meank = meank; this->thresh = thresh_; statistical_filter.setMeanK(meank); statistical_filter.setStddevMulThresh(thresh); voxel.setLeafSize( resolution, resolution, resolution); globalMap.reset(new PointCloud); loopbusy=false; viewerThread = make_shared( bind(&PointCloudMapping::viewer, this ) ); } 2022-06-27_15-49 上图是我的测试结果,祝好运。

globalMap = boost::make_shared< PointCloud >( );
loopbusy=false;
viewerThread = std::make_shared<thread>( bind(&PointCloudMapping::viewer, this) );

ubuntu18.04 ros-melodic环境,添加loopbusy=false即可实时显示点云。

wz8530 avatar May 29 '23 10:05 wz8530

为什么我得到的点云是错的,就是点云的位置不对,是因为我配置文件的问题吗?

Pattern6 avatar Sep 20 '23 13:09 Pattern6