#include <gtest/gtest.h>
#include <mrpt/config.h>
#include <mrpt/maps/CSimplePointsMap.h>
#include <mrpt/math/CHistogram.h>
#include <mrpt/obs/CObservation3DRangeScan.h>
#include <mrpt/obs/CSensoryFrame.h>
#include <mrpt/system/filesystem.h>
#include <mrpt/utils/CFileGZInputStream.h>
#include <mrpt/utils/metaprogramming.h>
Go to the source code of this file.
Namespaces | |
mrpt | |
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. | |
mrpt::utils | |
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. | |
Macros | |
#define | TEST_RANGEIMG_WIDTH 32 |
#define | TEST_RANGEIMG_HEIGHT 24 |
Functions | |
void | fillSampleObs (mrpt::obs::CObservation3DRangeScan &obs, mrpt::obs::T3DPointsProjectionParams &pp, int test_case) |
TEST (CObservation3DRangeScan, Project3D_noFilter) | |
TEST (CObservation3DRangeScan, Project3D_filterMinMax1) | |
TEST (CObservation3DRangeScan, Project3D_filterMinMaxAllBetween) | |
TEST (CObservation3DRangeScan, Project3D_filterMinMaxNoneBetween) | |
TEST (CObservation3DRangeScan, Project3D_filterMin) | |
TEST (CObservation3DRangeScan, Project3D_filterMax) | |
TEST (CObservation3DRangeScan, LoadAndCheckFloorPoints) | |
#define TEST_RANGEIMG_HEIGHT 24 |
Definition at line 31 of file CObservation3DRangeScan_unittest.cpp.
Referenced by fillSampleObs(), and TEST().
#define TEST_RANGEIMG_WIDTH 32 |
Definition at line 30 of file CObservation3DRangeScan_unittest.cpp.
Referenced by fillSampleObs(), and TEST().
void fillSampleObs | ( | mrpt::obs::CObservation3DRangeScan & | obs, |
mrpt::obs::T3DPointsProjectionParams & | pp, | ||
int | test_case | ||
) |
Definition at line 33 of file CObservation3DRangeScan_unittest.cpp.
References mrpt::obs::CObservation3DRangeScan::hasRangeImage, mrpt::obs::T3DPointsProjectionParams::PROJ3D_USE_LUT, mrpt::obs::CObservation3DRangeScan::rangeImage, mrpt::obs::CObservation3DRangeScan::rangeImage_setSize(), mrpt::obs::T3DPointsProjectionParams::takeIntoAccountSensorPoseOnRobot, TEST_RANGEIMG_HEIGHT, TEST_RANGEIMG_WIDTH, and mrpt::obs::T3DPointsProjectionParams::USE_SSE2.
Referenced by TEST().
TEST | ( | CObservation3DRangeScan | , |
Project3D_noFilter | |||
) |
Definition at line 50 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, and mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto().
TEST | ( | CObservation3DRangeScan | , |
Project3D_filterMinMax1 | |||
) |
Definition at line 65 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto(), mrpt::obs::TRangeImageFilterParams::rangeCheckBetween, mrpt::obs::TRangeImageFilterParams::rangeMask_max, mrpt::obs::TRangeImageFilterParams::rangeMask_min, TEST_RANGEIMG_HEIGHT, and TEST_RANGEIMG_WIDTH.
TEST | ( | CObservation3DRangeScan | , |
Project3D_filterMinMaxAllBetween | |||
) |
Definition at line 91 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto(), mrpt::obs::TRangeImageFilterParams::rangeCheckBetween, mrpt::obs::TRangeImageFilterParams::rangeMask_max, mrpt::obs::TRangeImageFilterParams::rangeMask_min, TEST_RANGEIMG_HEIGHT, and TEST_RANGEIMG_WIDTH.
TEST | ( | CObservation3DRangeScan | , |
Project3D_filterMinMaxNoneBetween | |||
) |
Definition at line 118 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto(), mrpt::obs::TRangeImageFilterParams::rangeCheckBetween, mrpt::obs::TRangeImageFilterParams::rangeMask_max, mrpt::obs::TRangeImageFilterParams::rangeMask_min, TEST_RANGEIMG_HEIGHT, and TEST_RANGEIMG_WIDTH.
TEST | ( | CObservation3DRangeScan | , |
Project3D_filterMin | |||
) |
Definition at line 145 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto(), mrpt::obs::TRangeImageFilterParams::rangeMask_min, TEST_RANGEIMG_HEIGHT, and TEST_RANGEIMG_WIDTH.
TEST | ( | CObservation3DRangeScan | , |
Project3D_filterMax | |||
) |
Definition at line 167 of file CObservation3DRangeScan_unittest.cpp.
References fillSampleObs(), mrpt::obs::CObservation3DRangeScan::points3D_x, mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImageInto(), mrpt::obs::TRangeImageFilterParams::rangeMask_max, TEST_RANGEIMG_HEIGHT, and TEST_RANGEIMG_WIDTH.
TEST | ( | CObservation3DRangeScan | , |
LoadAndCheckFloorPoints | |||
) |
Definition at line 193 of file CObservation3DRangeScan_unittest.cpp.
References mrpt::math::CHistogram::add(), mrpt::utils::metaprogramming::copy_container_typecasting(), mrpt::system::fileExists(), mrpt::math::CHistogram::getHistogram(), mrpt::obs::CSensoryFrame::getObservationByClass(), and mrpt::utils::MRPT_GLOBAL_UNITTEST_SRC_DIR.
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |