apollo icon indicating copy to clipboard operation
apollo copied to clipboard

camera_model "Not initialized correctly"

Open wjjjjyourFA opened this issue 1 year ago • 1 comments

Describe the bug A clear and concise description of what the bug is. "Not initialized correctly"

  1. Go to 'distortion_model.h': code line 88 89
  2. Solution Eigen::Matrix3f intrinsic_params_ = Eigen::Matrix3f::Zero(); Eigen::Matrix<float, 8, 1> distort_params_ = Eigen::Matrix<float, 8, 1>::Zero();
  3. Reason Not initialized correctly intrinsic_params_ ==> Project() has no check distort_params_.size

4.Tips Maybe there's something like this in other header files.

wjjjjyourFA avatar Jan 09 '25 05:01 wjjjjyourFA

Can you describe the problem in detail? It seems that the variable is not initialized.

daohu527 avatar Jan 27 '25 05:01 daohu527