camera-laser-calibration icon indicating copy to clipboard operation
camera-laser-calibration copied to clipboard

code transform confused.

Open panecho opened this issue 6 years ago • 2 comments

Halo there. Is this repository being maintained still? I'm confused about the transform here.Though it is supposed to be like:

point.at<double>(0) = cloud_in->points[i].x;
point.at<double>(1) = cloud_in->points[i].y;
point.at<double>(2) = cloud_in->points[i].z;

but the effect is better with:

point.at<double>(0) = cloud_in->points[i].x;
point.at<double>(1) = -cloud_in->points[i].z;
point.at<double>(2) = cloud_in->points[i].y; 

why ?

panecho avatar Jul 03 '18 10:07 panecho

Sorry for the late reply. It's the transformation between different coordinate system: image and laser coordinate.

yuzhou42 avatar Sep 05 '18 15:09 yuzhou42

@NicoChou after checking the solvepnp.cpp file what the R and t represent, I clean my confusedness. this package helps me a lot, thank you!

panecho avatar Sep 06 '18 02:09 panecho