ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Problems encountered with rgbd_calibration: Exception parsing YAML camera calibration: yaml-cpp: error at line 0, column 0: bad conversion [ERROR] : Failed to parse camera calibration from file

asked 2019-05-26 07:37:12 -0600

Henryliu gravatar image

updated 2020-08-04 17:52:20 -0600

jayess gravatar image

This work is a recurrence of Basso's work: https://github.com/iaslab-unipd/rgbd_calibration, but I have encountered the following problems:

[ INFO] [1558852802.759705575]: camera calibration URL: file:///home/lhy/.ros/camera_info/depth_A00362902964053A.yaml

**[**ERROR] [1558852802.762335020]: Exception parsing YAML camera calibration:
yaml-cpp: error at line 0, column 0: bad conversion
[ERROR] [1558852802.762491164]: Failed to parse camera calibration from file [/home/lhy/.ros/camera_info/depth_A00362902964053A.yaml]****

[ WARN] [1558852802.762643002]: Camera calibration file /home/lhy/.ros/camera_info/depth_A00362902964053A.yaml not found.

[0, 0, 0, 0;
 0, 0, 0, 0;
 0, 0, 0, 0]
[ERROR] [1558852802.763309988]: Tried to advertise a service that is already advertised in this node [/calibration/rgbd_offline/set_camera_info]

[ INFO] [1558852802.763406777]: camera calibration URL: file:///home/lhy/.ros/camera_info/rgb_A00362902964053A.yaml

**[ERROR] [1558852802.765104511]: Exception parsing YAML camera calibration:
yaml-cpp: error at line 0, column 0: bad conversion
[ERROR] [1558852802.765185216]: Failed to parse camera calibration from file [/home/lhy/.ros/camera_info/rgb_A00362902964053A.yaml]**

[ WARN] [1558852802.765279760]: Camera calibration file /home/lhy/.ros/camera_info/rgb_A00362902964053A.yaml not found.

[ INFO] [1558852802.846363646]: Getting data...

[ INFO] [1558852813.493671995]: 40 images + point clouds added.

[ INFO] [1558852813.493820898]: Initial transform:

position: 
  x: 0
  y: 0
  z: 0
orientation: 
  x: 0
  y: 0
  z: 0
  w: 1

****[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!****
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-03 18:16:49 -0600

JSandu gravatar image

updated 2020-08-03 18:17:28 -0600

That error is usually shown up when the program cannot find the YAML file. Maybe you deleted or modified the calibration YAML file name?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-05-26 07:37:12 -0600

Seen: 2,308 times

Last updated: Aug 04 '20