livox_camera_calib icon indicating copy to clipboard operation
livox_camera_calib copied to clipboard

运行时错误

Open Dorothy-2016 opened this issue 3 years ago • 19 comments

您好,首先感谢您的工作让Liar-Cam标定更便捷!因最近也在做这方面的工作,所以试了一下您的方法,遇到一个运行问题,如下图: image 程序总是在这个位置直接报错,也没有其他提示,可能是什么原因呢?

Dorothy-2016 avatar Aug 23 '21 08:08 Dorothy-2016

你好,请问你的ros和pcl版本是多少?

ChongjianYUAN avatar Aug 24 '21 07:08 ChongjianYUAN

你好,请问你的ros和pcl版本是多少?

ros是kinetic版, pcl1.7版

Dorothy-2016 avatar Aug 24 '21 12:08 Dorothy-2016

请问rviz有正常输出吗?

ChongjianYUAN avatar Aug 24 '21 15:08 ChongjianYUAN

请问rviz有正常输出吗?

rviz也没有正常输出 Screenshot from 2021-08-25 09-09-52 我单独运行rosbag play outdoor1.bag文件是有图像输出的

Dorothy-2016 avatar Aug 25 '21 01:08 Dorothy-2016

请问rviz有正常输出吗?

rviz也没有正常输出 Screenshot from 2021-08-25 09-09-52 我单独运行rosbag play outdoor1.bag文件是有图像输出的

这个情况看上去像是没有成功读取点云,这个outdoor1.bag是从我给的数据链接下载的demo数据吗

ChongjianYUAN avatar Aug 25 '21 07:08 ChongjianYUAN

请问rviz有正常输出吗?

rviz也没有正常输出 Screenshot from 2021-08-25 09-09-52 我单独运行rosbag play outdoor1.bag文件是有图像输出的

这个情况看上去像是没有成功读取点云,这个outdoor1.bag是从我给的数据链接下载的demo数据吗

嗯嗯,是的,google云盘上下载的那个压缩包,我单独play bag文件的时候也是只看到图像话题数据,没有看到点云数据,开始我以为是tf没给对所以没显示

Dorothy-2016 avatar Aug 26 '21 01:08 Dorothy-2016

请问rviz有正常输出吗?

rviz也没有正常输出 Screenshot from 2021-08-25 09-09-52 我单独运行rosbag play outdoor1.bag文件是有图像输出的

这个情况看上去像是没有成功读取点云,这个outdoor1.bag是从我给的数据链接下载的demo数据吗

嗯嗯,是的,google云盘上下载的那个压缩包,我单独play bag文件的时候也是只看到图像话题数据,没有看到点云数据,开始我以为是tf没给对所以没显示

可以用rosbag info outdoor1.bag再次查看下是否有点云数据吗?

ChongjianYUAN avatar Aug 29 '21 05:08 ChongjianYUAN

请问rviz有正常输出吗?

rviz也没有正常输出 Screenshot from 2021-08-25 09-09-52 我单独运行rosbag play outdoor1.bag文件是有图像输出的

这个情况看上去像是没有成功读取点云,这个outdoor1.bag是从我给的数据链接下载的demo数据吗

嗯嗯,是的,google云盘上下载的那个压缩包,我单独play bag文件的时候也是只看到图像话题数据,没有看到点云数据,开始我以为是tf没给对所以没显示

可以用rosbag info outdoor1.bag再次查看下是否有点云数据吗?

Screenshot from 2021-08-30 09-29-33 Screenshot from 2021-08-30 09-28-36 Screenshot from 2021-08-30 09-34-05 Screenshot from 2021-08-30 09-39-00 rostopic echo /livox/lidar显示是有数据的,但是为什么rosplay的时候没有点云数据显示呢?是我的fixed frame没有给对吗?

Dorothy-2016 avatar Aug 30 '21 01:08 Dorothy-2016

Screenshot from 2021-08-30 11-39-40 Finally, I saw the Lidar data when I set the fixed frame as livox_frame when run rviz on the outdoor1.bag. So it can be sure that the data has no problem! but when I run roslaunch livox_camera_calib calib.launch, it still output error like the follow picture: Screenshot from 2021-08-30 11-47-41

Dorothy-2016 avatar Aug 30 '21 03:08 Dorothy-2016

Screenshot from 2021-08-30 11-39-40 Finally, I saw the Lidar data when I set the fixed frame as livox_frame when run rviz on the outdoor1.bag. So it can be sure that the data has no problem! but when I run roslaunch livox_camera_calib calib.launch, it still output error like the follow picture: Screenshot from 2021-08-30 11-47-41

你好,可以在launch文件中加入 launch-prefix="gdb -ex run --args" 打开gdb模式看看具体是在哪个地方报错的

ChongjianYUAN avatar Sep 03 '21 14:09 ChongjianYUAN

I met the same question, is there a solution?

xiaobai-1-1 avatar Nov 24 '21 13:11 xiaobai-1-1

I met the same question, is there a solution?

Is it tested on the latest code?

ChongjianYUAN avatar Nov 25 '21 02:11 ChongjianYUAN

I used the code downloaded today, but it's the same problem. testdata is outdoor2.bag.

xiaobai-1-1 avatar Nov 25 '21 06:11 xiaobai-1-1

I used the code downloaded today, but it's the same problem. testdata is outdoor2.bag.

Could you provide the ros version and pcl version

ChongjianYUAN avatar Nov 25 '21 07:11 ChongjianYUAN

ubuntu 16.04 ros-kinetic pcl-1.7

xiaobai-1-1 avatar Nov 25 '21 08:11 xiaobai-1-1

我也遇到了同样的问题,ubuntu 16.04, kinetic, pcl-1.8.1

chenhongjin811 avatar Jan 06 '22 12:01 chenhongjin811

请问,一样的问题,有解决方法了吗? gdb调试出现 0x00007fffee1ba9fd in free () from /lib/x86_64-linux-gnu/libc.so.6

wangmengjiao12 avatar Jan 11 '22 02:01 wangmengjiao12

我也遇到了相同的问题,我在尝试用自己录制的bag包,请问以下环境是静止的吗?我并没有找到作者的outdoor2.bag压缩包下载地址

987428377 avatar Aug 30 '22 07:08 987428377

I met the same issue. I use ROS GDB to detect the fxxking problem. The result points to lidar-calib_camera.hpp line 771. I review this code and find no bugs. Finally, The reason is that we have 2 PCL versions. we can use the specific version by find_packadge(exact) to solve this problem

Skyhfz avatar Jun 08 '23 15:06 Skyhfz