Open bartoszptak opened 3 weeks ago
Hi, thanks again for your comment. Commenting the line is not a good fix in the first place, as a track outside of the image should not exist. How did it happen?
Try to investigate this, it could be great to have a clear idea of how such a thing happen. Personally, it is the first time I see such an error.
Hi, Thanks for your excellent work! I'm running your code on my stereo+imu rosbag recordings using ROS Humble. In my data, camera frames are published with 4 FPS, resulting in the error when the move between frames is a little higher:
I debugged the code and discovered that the issue exists in this place because in the
pts2
vector exist points out of image boundaries:when the frame shape is 1280x720 (downscaling is set to 1.0).
When I commented on the
cv::cornerSubPix
function, the VO operated fine. Do you have the best idea how to handle that? Should I just filter out the wrong points, or is the topic much deeper?