mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
Added dialogs when starting/stopping sensors/detection. Fixed nullptr bug on MainWindow::handleEvents
This commit is contained in:
@@ -404,13 +404,16 @@ int main (int argc, char * argv[])
|
||||
{
|
||||
printf("The camera is not calibrated! You should calibrate the camera first.\n");
|
||||
delete camera;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Failed to initialize the camera! Please select another driver (see \"--help\").\n");
|
||||
delete camera;
|
||||
return 1;
|
||||
}
|
||||
|
||||
printf("Exiting cleanly.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user