robofit / but_velodyne

ROS packages for Velodyne 3D LIDARs provided by Robo@FIT group.
GNU Lesser General Public License v3.0
142 stars 98 forks source link

Failed to find match for field 'ring'. #23

Open panecho opened 6 years ago

panecho commented 6 years ago

@ompugao @but-spanel @beranv @ZdenekM @Nogik command : roslaunch but_calibration_camera_velodyne calibration_coarse.launch error: image

any solution? thank you! by the way, this is the image: image

martin-velas commented 6 years ago

Hi! The issue is related to the message "Failed to find match for field 'ring'" - in your point cloud message (input of the calibration) there is the ring information missing. The point type should be PointXYZIR.

panecho commented 6 years ago

@martin-velas thank you, after some revise, Program runs well. but it's hard to do the calibration successfully. the error is: image because of no marker detected in pointcloud, any advise? by the way, here is shortcut of the point cloud and 16 rays laser: image

ssingh82 commented 6 years ago

@ZhengPan2014 Did you fix this issue ? I am having the same problem

panecho commented 6 years ago

@ssingh82 not for this package, because of I'm not using Velodyne lidar whose ros wapper of SDK does provide the "ring" field. I finally calibrated cam and lidar successfully with this package, hope it will help you, good luck!

ssingh82 commented 6 years ago

@ZhengPan2014

Thanks for replying but I was asking about this issue:

[pcl::SampleConsensusModel::getSamples] Can not select 0 unique points out of 0! [pcl::RandomSampleConsensus::computeModel] No samples could be selected! [pcl::SampleConsensusModel::getSamples] Can not select 0 unique points out of 0! [pcl::RandomSampleConsensus::computeModel] No samples could be selected!

I am getting these warnings from PCL same as you. Can you tell how did you fix that ? I checked the pointcloud that I am feeding to the package. It has good number of points. Still I am getting these warnings.

panecho commented 6 years ago

@ssingh82 it's a great pity that I'm not professional in how to using PCL and have no idea about the problem you encountered.

jadhu22 commented 4 years ago

Hi! The issue is related to the message "Failed to find match for field 'ring'" - in your point cloud message (input of the calibration) there is the ring information missing. The point type should be PointXYZIR.

@martin-velas how to fix this issue?? In which file do I need to make the changes.

martin-velas commented 4 years ago

Hi. The ring field is necessary and it should be provided by the ROS driver for Velodyne (https://github.com/ros-drivers/velodyne). In case you can not use this driver, this is the simple way how to estimate the ring - method VelodynePointCloud::setRingsByHorizontalAngles(). Martin.