mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-08 02:57:46 +08:00
DBViewer: updated refine constraints menu action with more options, DBDriver: added updateCalibration for convenience
This commit is contained in:
@@ -502,6 +502,16 @@ void DBDriver::updateOccupancyGrid(
|
||||
_dbSafeAccessMutex.unlock();
|
||||
}
|
||||
|
||||
void DBDriver::updateCalibration(int nodeId, const std::vector<CameraModel> & models, const std::vector<StereoCameraModel> & stereoModels)
|
||||
{
|
||||
_dbSafeAccessMutex.lock();
|
||||
this->updateCalibrationQuery(
|
||||
nodeId,
|
||||
models,
|
||||
stereoModels);
|
||||
_dbSafeAccessMutex.unlock();
|
||||
}
|
||||
|
||||
void DBDriver::updateDepthImage(int nodeId, const cv::Mat & image)
|
||||
{
|
||||
_dbSafeAccessMutex.lock();
|
||||
|
||||
Reference in New Issue
Block a user