Understanding the Calibration file
This file basically contains all the transform between between different frames of camera such as velodyne, camera, etc.
Use following links to understand it:
Kitti official Data DiscriptionThis is what is given in readme.md Main equation for transformation
y=Precti​xrect In the calib.txt file, the P0​,P1​,P2​,P3​matrices are the projection matrix which project the 3D point xrect​in rectified camera coordinate frame to image coordinates of camera i. Please note that rectified camera coordinate frame is not related to any camera i. So basically these Pi​given in calib.txt are actuallyPrecti​ and takes points in rectifies camera coordinate and not points in ithcamera coordinate frames.
y=Precti​Rrect0​Trvelo−to−cam0xvelo This is one of the main equation given in the readme.md file for transformations of points. Here xvelois 3D point in velodyne coordinate frame. Trvelo−to−cam0 transform an point from velodyne to reference camera (cam0) coordinate frame. ie. xcam0=Trvelo−to−cam0xvelo. xcam0is in cam0 coordinate frame, cam0 is reference camera in kitti.
xrect=Rrect0​xcam0 We need xin rectified frame to be worked with Precti​. Hence we use Rrect0​which transform point from cam0 coordinate frame to rectified coordinate frame.
Different Packages for using Kitti Dataset
Python Package to read Kitti data.
Covert Kitti dataset to ROS Bag or Publish as ROS topics.