DBViewer: fixed grid cell size in 3D View. Memory/Grid, using Icp/PointToPlaneGroundNormalsUp parameter when normals are computed. Grid: fixed 2D noHit ray tracing.

This commit is contained in:
matlabbe
2022-01-25 18:10:43 -05:00
parent 2dc7b59b05
commit d56692640e
11 changed files with 91 additions and 42 deletions

View File

@@ -5062,9 +5062,9 @@ void DatabaseViewer::update(int value,
if(ui_->checkBox_showMap->isChecked())
{
float xMin=0.0f, yMin=0.0f;
cv::Mat map8S;
cv::Mat map8S;
ParametersMap parameters = ui_->parameters_toolbox->getParameters();
float gridCellSize = Parameters::defaultGridCellSize();
Parameters::parse(parameters, Parameters::kGridCellSize(), gridCellSize);
parameters = Parameters::filterParameters(parameters, "GridGlobal", true);
#ifdef RTABMAP_OCTOMAP