@@ -64,29 +64,29 @@ struct ParamsSensorCamera : public ParamsSensorBase
...
@@ -64,29 +64,29 @@ struct ParamsSensorCamera : public ParamsSensorBase
pinhole_model_rectified[2]=projection[0];
pinhole_model_rectified[2]=projection[0];
pinhole_model_rectified[3]=projection[5];
pinhole_model_rectified[3]=projection[5];
assert(distortion.size()==5&&"Distortion size must be size 5!");
assert(distort.size()==5&&"Distortion size must be size 5!");
WOLF_WARN_COND(distortion(2)!=0||distortion(3)!=0,"Wolf does not handle tangential distortion. Please consider re-calibrating without tangential distortion!");
WOLF_WARN_COND(distort(2)!=0||distort(3)!=0,"Wolf does not handle tangential distortion. Please consider re-calibrating without tangential distortion!");