pal-robotics / aruco_ros

Software package and ROS wrappers of the Aruco Augmented Reality marker detector library
MIT License
448 stars 306 forks source link

problem in aruco/src/cameraParameters.cpp #69

Open southwestCat opened 5 years ago

southwestCat commented 5 years ago

any one found that in file aruco/src/cameraParameters.cpp, in this function cv::Point3f CameraParameters::getCameraLocation(cv::Mat Rvec,cv::Mat Tvec), line 103, m44.inv() should be m44 = m44.inv(), this function is to calculate the translation vector from camera to marker, so this place the m44 shoulder be its inverse matrix. But in the origin function, thr return values is the m44, but not the inverse. I download the source code of Aruco from their website, it still has this problem.