New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENCV Problems? #15
Comments
sorry,I saw the same problem in the closed module,the answer was important and useful ,but I couldnot solve this problem. Could you give me an example about opencv configure in the cmakelists.txt? thanks ,looking forward to your early reply. |
Hi firstbeer, sorry to hear that you have some issues with opencv when compiling this repository. I haven't compiled ros/cmake programs with opencv for a while, and to be honest, your question is more suitable to be asked at stackoverflow, but I'll try my best to give a few suggestions. Firstly, a simple suggestion is that you can try building a minimal system with just opencv imread and imshow. Oftentimes, that doesn't work either with similar error messages, and is much easier to debug than this large repository. In terms of using opencv in cmake, I think https://github.com/YukunXia/VLOAM-CMU-16833/blob/master/src/visual_odometry/CMakeLists.txt could be a good example. Search for Back to your compilation errors, In the context of ros, if you have two opencv versions installed like me, and use cv_bridge in your system, there could be a conflict between the two opencvs. By default, |
Very glad to receive your letter also to fully show no felt sorry I met problems. I use the operating system is ubuntu18.04, ROS |
Before taking care of |
Ok, thanks for your advice, I will use ubuntu18 and opencv4.5.1 to read images to verify my opencv4.5.1 environment configuration. |
Maybe you need to completely shutdown rosmaster and roscore, and start everything from scratch. |
1, 雷达和相机之间的标定参数文件在哪里更改? 所有的标定信息都在在vloam_tf里面,比如
velo_T_cam0
2,保存建好的点云地图pcd文件 我记得rviz可以直接存point cloud。lidar mapping那边我直接用的aloam,印象中运行时间长了global map会剔除太久以前的point cloud。如果需要输出完整的kitti的point cloud map,可以看下lidar global map是不是实际上存了所有的。如果是的话,可以定义一下lidar mapping的destructor,在里面加导出到本地pcd。如果不是的话,可以试下把每一帧的point cloud和mapped odometry都存下来成独立的pcd,最后再单独写一个程序把它们拼接起来。 |
保存point cloud到pcd:https://wiki.ros.org/pcl_ros#pointcloud_to_pcd |
好的 收到 非常感谢 。对了,请问您的VLOAM实现过程中使用KITTI数据集IMU数据了吗?KITTI数据集中的四个相机数据您这边都使用了吗? 非常开心与您进行交流,谢谢 |
没有,但是用到了和imu相关的transformation,参考这个comment:#16 (comment)
没有,只用了left gray 另外不用客气。这个仓库只是作为一个课程项目的vloam简单实现,还有很多有待完善的地方,只能说抛砖引玉了。 |
Hello,I meet this problems when catkin_make , where is the problems? what should we do ?
problems:
/catkin_ws/devel/lib/libimage_util.so:对‘cv::imshow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&)’未定义的引用
/catkin_ws/devel/lib/libimage_util.so:对‘cv::namedWindow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)’未定义的引用
....
The text was updated successfully, but these errors were encountered: