Commit dbc5ba91 authored by James Ward's avatar James Ward
Browse files

Explicitly set default values for sample fields

parent 05962758
......@@ -44,12 +44,12 @@ struct RotationTranslationCost // equivalent to y in matlab
struct OptimisationSample
{
cv::Point3d camera_centre;
cv::Point3d camera_normal;
cv::Point3d camera_centre{ 0, 0, 0 };
cv::Point3d camera_normal{ 0, 0, 0 };
std::vector<cv::Point3d> camera_corners;
cv::Point3d lidar_centre;
cv::Point3d lidar_normal;
cv::Point3d lidar_corner;
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;
};
......
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