commit | 670d5ac2673f92eba70de69746b43315bfe60da8 | [log] [tgz] |
---|---|---|
author | Alex Perry <alex.perry96@gmail.com> | Sun Apr 07 14:20:31 2019 -0700 |
committer | Alex Perry <alex.perry96@gmail.com> | Sun Apr 07 14:49:21 2019 -0700 |
tree | 97cac2cf373b6f5010cdddcaee8a80552e2761cc | |
parent | a0a7fb8b68c8ece612ae337a79f8231bc9a97cb5 [diff] [blame] |
switch image_writer to glog Change-Id: I286751f0f5090d2b7361eb833ea62f25b510d542
diff --git a/y2019/vision/target_geometry.cc b/y2019/vision/target_geometry.cc index efa2def..de76acb 100644 --- a/y2019/vision/target_geometry.cc +++ b/y2019/vision/target_geometry.cc
@@ -84,7 +84,7 @@ ::Eigen::Matrix<T, 2, 1> pt = Project<T>(ToEigenMatrix<T>(template_pt), intrinsics, extrinsics); residual[0] = result.x() - pt(0, 0); - residual[1] = result.y() - pt(0, 1); + residual[1] = result.y() - pt(1, 0); return true; }