I'm using ptam with ros indigo on odroid.
Since a few days suddenly ptam crashes always during start up.
I figured out that it crashes due to an uninitialized mpMap pointer in System::keyframesservice function at:
if(!(mpMap->vpKeyFrames.size()>0) | !mpMap->bGood)
return false;
mpMap will be initialized in System::init(const CVD::ImageRef & size) but this happens only first time in System::imageCallback.
In some circumstances this seems to happen to late that mpMap is undefined and leads ptam to crash in System::keyframesservice.
I'm using ptam with ros indigo on odroid. Since a few days suddenly ptam crashes always during start up. I figured out that it crashes due to an uninitialized mpMap pointer in System::keyframesservice function at:
if(!(mpMap->vpKeyFrames.size()>0) | !mpMap->bGood) return false; mpMap will be initialized in System::init(const CVD::ImageRef & size) but this happens only first time in System::imageCallback. In some circumstances this seems to happen to late that mpMap is undefined and leads ptam to crash in System::keyframesservice.