当前位置:网站首页>OpenCV depthframe -> pointcloud 导致 segmentation fault!
OpenCV depthframe -> pointcloud 导致 segmentation fault!
2022-06-26 08:54:00 【HI_Forrest】
VectorXd imgpos(6);
imgpos << 0, M_PI/2, -M_PI*16/18, 0, M_PI*5/18, 0;
arm.m_captenv.clear();
CAPT_POSE captenvpose;
captenvpose.got = false;
captenvpose.jointspos = imgpos;
arm.m_captenv.push_back(captenvpose);
if m_captenv not initialized, m_captenv[0] is null, will break with segmentation fault.
arm.m_d435i.getframe();
arm.m_d435i.getpoints();
arm.addpointsenv(arm.m_d435i.m_points, 0);
实际上的错误是OpenCV的深度图和彩色图对齐后得到的点云和原始的frame的直接计算点云不一样导致的,对点云的索引导致了段错误,具体原因未知,改成不对齐的深度图计算点云就可以了。
边栏推荐
- Yolov5 results Txt visualization
- Common circuit design
- Principle and application of single chip microcomputer -- Overview
- Super data processing operator helps you finish data processing quickly
- 《一周搞定模电》—电源电路
- 【CVPR 2021】Unsupervised Multi-Source Domain Adaptation for Person Re-Identification (UMSDA)
- Application of hidden list menu and window transformation in selenium
- 编辑类型信息
- 【pulsar学习】pulsar架构原理
- 【AAAI 2021】Few-Shot One-Class Classification via Meta-Learning 【FSOCC via Meta-learning】
猜你喜欢

"One week's work on digital power" -- encoder and decoder

【CVPR 2021】 Lifelong Person Re-Identification via Adaptive Knowledge Accumulation

Yolov5 results Txt visualization

Badge series 7: use of codacy

计算领域高质量科技期刊分级目录

0 basic how to make a cool leadership cockpit?

kubernetes集群部署(v1.23.5)

"One week to solve the model electricity" - negative feedback

【CVPR 2021】DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effort

"One week's data collection" - logic gate
随机推荐
计算领域高质量科技期刊分级目录
php提取txt文本存储json数据中的域名
如何编译构建
《一周搞定模电》-光耦等元器件
Behavior tree file description
Docker install redis
Phpcms V9 adds the reading amount field in the background, and the reading amount can be modified at will
Execution process at runtime
Comprehensive interpretation! Use of generics in golang
Fix the problem that the rich text component of the applet does not support the properties of video cover, autoplay, controls, etc
Badge series 4: use of circle Ci
Common circuit design
《一周搞定数电》-逻辑门
【CVPR 2019】Semantic Image Synthesis with Spatially-Adaptive Normalization(SPADE)
"One week's solution to analog electricity" - power circuit
"One week's study of model electricity" - capacitor, triode, FET
集合对象复制
Merrill Lynch data technology expert team | building a cloud native product system based on containers
Is it safe to dig up money and make new debts
Edit type information