diff options
Diffstat (limited to 'cv')
-rw-r--r-- | cv/translation-calibrator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cv/translation-calibrator.cpp b/cv/translation-calibrator.cpp index 1287b408..a5df5b5f 100644 --- a/cv/translation-calibrator.cpp +++ b/cv/translation-calibrator.cpp @@ -37,5 +37,5 @@ void TranslationCalibrator::update(const cv::Matx33d& R_CM_k, const cv::Vec3d& t cv::Vec3f TranslationCalibrator::get_estimate() { cv::Vec6f x = P.inv() * y; - return cv::Vec3f(x[0], x[1], x[2]); + return cv::Vec3f(-x[0], -x[1], -x[2]); } |