apollo
apollo copied to clipboard
camera_model "Not initialized correctly"
Describe the bug A clear and concise description of what the bug is. "Not initialized correctly"
- Go to 'distortion_model.h': code line 88 89
- Solution
Eigen::Matrix3f intrinsic_params_ = Eigen::Matrix3f::Zero(); Eigen::Matrix<float, 8, 1> distort_params_ = Eigen::Matrix<float, 8, 1>::Zero(); - 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.
Can you describe the problem in detail? It seems that the variable is not initialized.