![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VINS
复古蓝
多学习,多交流。
展开
-
读取深度图中的数据异常(数据全部为0)的解决办法
读取深度图中的数据异常(数据全部为0)的解决办法两种读取方式编程中遇到的问题编码格式对应关系参考博文两种读取方式1、指针方式读取float d = (float)depth.ptr<unsigned short>(n)[m] /1000;ptr函数会返回指向该图像第m行数据的头指针,然后在改行加上位移n,表示取第m行,第n列位置处的深度值;2、动态地址访问方式float d = (float)depth.at<unsigned short>(n,m) / 1000;这原创 2020-07-30 19:59:16 · 1577 阅读 · 0 评论 -
2019.11.19日调试代码笔记
安装GPU版本的OpenCV248:/home/bruce/software/opencv-2.4.8/modules/gpu/src/nvidia/core/NCVPixelOp…hpp中 50~68行的static全部去除 119-149中的static也全部删去graphcuts.cpp中45行添加如下:#if !defined (HAVE_CUDA) || defined (CUD...原创 2019-11-19 19:54:01 · 295 阅读 · 0 评论 -
catkin_make安装realsense D435I的ROS包报错:not find... ddynamic_reconfigureConfig.cmake
报错信息:-- Could not find the required component 'ddynamic_reconfigure'. The following CMake error indicates that you either need to install the package with the same name or change your environment so ...原创 2019-11-06 21:01:29 · 6634 阅读 · 6 评论 -
VINS-mono运行数据集没有轨迹之解决办法
1、首先参照港科大github上的源码REAMDE进行环境配置https://github.com/HKUST-Aerial-Robotics/VINS-Mono2、下载并安装Eigen3.3.3,虽然对于Eigen3.3.3只是用到头文件,但是还是必须安装(否则还是无法显示轨迹)mkdir buildcd buildcmake ..make -j4make install3、重...原创 2019-11-06 19:53:51 · 2158 阅读 · 0 评论