code-iai / iai_kinect2

Tools for using the Kinect One (Kinect v2) in ROS
Apache License 2.0
881 stars 519 forks source link

Executing the command to turn on the camera resulted in an error message stating that the calibration file 'calic_color. yaml' could not be found #591

Open zwhaa opened 2 months ago

zwhaa commented 2 months ago

After completing the camera internal parameter calibration and copying the file to the corresponding location, I executed the command roslaunch kinect_2-bridge kinect_2-bridge.launch to start the camera, but encountered an error message stating that I could not find the calibration file calic_color.yaml.

ubuntu20.04+显卡:RTX 3060+driver 470+yolo V5+CUDA 10.0

If you have any way, please help me. Thank you!

The following is my terminal error output:

[ INFO] [1725513154.866405373]: [Kinect2Bridge::initDevice] starting kinect2 [Info] [Freenect2DeviceImpl] starting... [Info] [Freenect2DeviceImpl] submitting rgb transfers... [Info] [Freenect2DeviceImpl] submitting depth transfers... [Info] [Freenect2DeviceImpl] started [ INFO] [1725513155.216857289]: [Kinect2Bridge::initDevice] device serial: 103461633947 [ INFO] [1725513155.216929078]: [Kinect2Bridge::initDevice] device firmware: 4.0.3917.0 [Info] [Freenect2DeviceImpl] stopping... [Info] [Freenect2DeviceImpl] canceling rgb transfers... [Info] [Freenect2DeviceImpl] canceling depth transfers... [Info] [Freenect2DeviceImpl] stopped [ERROR] [1725513155.440202521]: [Kinect2Bridge::loadCalibrationFile] can't open calibration file: /home/vehicle/workspace/catkin_ws/src/drivers/depth_camera/iai_kinect2/kinect2_bridge/data/103461633947/calib_color.yaml double free or corruption (out) [FATAL] [1725513156.612378583]: Failed to load nodelet '/kinect2_bridgeof typekinect2_bridge/kinect2_bridge_nodeletto managerkinect2' [FATAL] [1725513156.612416099]: Failed to load nodelet '/kinect2_points_xyzrgb_hdof typedepth_image_proc/point_cloud_xyzrgbto managerkinect2' [kinect2-2] process has died [pid 6042, exit code -6, cmd /opt/ros/noetic/lib/nodelet/nodelet manager name:=kinect2 log:=/home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2-2.log]. log file: /home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2-2.log [kinect2_bridge-3] process has died [pid 6043, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet load kinect2_bridge/kinect2_bridge_nodelet kinect2 __name:=kinect2_bridge __log:=/home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2_bridge-3.log]. log file: /home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2_bridge-3.log [kinect2_points_xyzrgb_hd-6] process has died [pid 6087, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet load depth_image_proc/point_cloud_xyzrgb kinect2 rgb/camera_info:=kinect2/hd/camera_info rgb/image_rect_color:=kinect2/hd/image_color_rect depth_registered/image_rect:=kinect2/hd/image_depth_rect depth_registered/points:=kinect2/hd/points __name:=kinect2_points_xyzrgb_hd __log:=/home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2_points_xyzrgb_hd-6.log]. log file: /home/vehicle/.ros/log/75419580-6b45-11ef-91b6-23fa9f4f0e74/kinect2_points_xyzrgb_hd-6*.log [kinect2_bridge-3] restarting process process[kinect2_bridge-3]: started with pid [6127] [kinect2_points_xyzrgb_hd-6] restarting process process[kinect2_points_xyzrgb_hd-6]: started with pid [6128] [ INFO] [1725513156.852936894]: Loading nodelet /kinect2_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect2 with the following remappings: [ INFO] [1725513156.854348275]: waitForService: Service [/kinect2/load_nodelet] could not connect to host [vehicle:60001], waiting... ^C[kinect2_points_xyzrgb_hd-6] killing on exit [kinect2_points_xyzrgb_qhd-5] killing on exit [kinect2_points_xyzrgb_sd-4] killing on exit [ WARN] [1725513157.743846911]: Couldn't find service kinect2/unload_nodelet, perhaps the manager is already shut down [kinect2_bridge-3] killing on exit