Open nalinraut opened 5 years ago
I am using ros_stereo.cc to extract poses of each frame, however, once tracking is lost it gives me a Segmentation Fault error or OpenCV error. I am simply printing Tcw.at(0,3). If I don't print the value or use it, there is no error.
@nalinraut
This is a late response to your urgent question.
I'm pretty sure your Tcw is an empty Mat when tracking is lost (because while lost, there's no camera pose), thus the seg fault.
I am using ros_stereo.cc to extract poses of each frame, however, once tracking is lost it gives me a Segmentation Fault error or OpenCV error. I am simply printing Tcw.at(0,3). If I don't print the value or use it, there is no error.