Fixed DBReader odometry ignored

This commit is contained in:
matlabbe
2024-06-25 12:04:37 -07:00
parent 1ab0133f14
commit 7d970ef020
5 changed files with 21 additions and 5 deletions
+6
View File
@@ -268,6 +268,12 @@ std::string DBReader::getSerial() const
return "DBReader";
}
bool DBReader::getPose(double stamp, Transform & pose, cv::Mat & covariance, double maxWaitTime)
{
UERROR("DBReader only provides pose when capturing data, it cannot provide asynchronous pose.");
return false;
}
SensorData DBReader::captureImage(SensorCaptureInfo * info)
{
SensorData data = this->getNextData(info);