DataRecorder: Can record odometry data if odometry is published by the camera (zed or realsense)

This commit is contained in:
matlabbe
2017-11-21 14:14:37 -05:00
parent 1df95702a3
commit 821c1c938e
2 changed files with 5 additions and 2 deletions

View File

@@ -4601,7 +4601,7 @@ void MainWindow::startDetection()
}
}
if(_dataRecorder && _camera)
if(_dataRecorder && _camera && _odomThread)
{
UEventsManager::createPipe(_camera, _dataRecorder, "CameraEvent");
}