Closed hitimo closed 2 years ago
In aslam_offline_calibration/kalibr/python/kalibr_rs_camera_calibration/RsCalibrator.py
line 358, keypoint_index
should be changed to index
otherwise this exits with
CovarianceReprojectionError() assert(_frame->numKeypoints() > _keypointIndex) failed
In
aslam_offline_calibration/kalibr/python/kalibr_rs_camera_calibration/RsCalibrator.py
line 358,keypoint_index
should be changed toindex
otherwise this exits withCovarianceReprojectionError() assert(_frame->numKeypoints() > _keypointIndex) failed
I agree. Moreover, line 352 for setting keypoint index is likely unnecessary.
I have fixed the merge conflicts and edited based on the feedback to just directly use index
.
If anybody could test this to make sure it still works as expected that would be great.
@hitimo What are you using for simulation? I would also like to have a dataset with groundtruth to perform evaluation on. Any suggestion /pointers here would be great.
@goldbattle I wish I had time to test your pull request, but life uncertainty and high workload have been drive me nuts. Since I have perused your code before, I choose to trust your modifications for the moment :).
Calibrated params in yaml:
Ground truth:
(Tested with synthetic dataset)