Commit 84b6b47a authored by James Ward's avatar James Ward
Browse files

Remove confusing single corner sample member

parent d2093056
......@@ -49,7 +49,6 @@ struct OptimisationSample
std::vector<cv::Point3d> camera_corners;
cv::Point3d lidar_centre{ 0, 0, 0 };
cv::Point3d lidar_normal{ 0, 0, 0 };
cv::Point3d lidar_corner{ 0, 0, 0 };
std::vector<cv::Point3d> lidar_corners;
};
......
......@@ -388,7 +388,7 @@ bool Optimiser::optimise()
ln.copyTo(lidar_normals_.row(row));
cv::Mat lc = cv::Mat(sample.lidar_centre).reshape(1).t();
lc.copyTo(lidar_centres_.row(row));
cv::Mat l_cn = cv::Mat(sample.lidar_corner).reshape(1).t();
cv::Mat l_cn = cv::Mat(sample.lidar_corners[2]).reshape(1).t();
l_cn.copyTo(lidar_corners_.row(row));
row++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment