Classes | |
struct | AnalyticalFunctions |
struct | Point2D |
Functions | |
AnalyticalFunctions | createFlatWorld (grid_map::GridMap *map) |
AnalyticalFunctions | createGaussianWorld (grid_map::GridMap *map) |
grid_map::GridMap | createMap (const grid_map::Length &length, double resolution, const grid_map::Position &pos) |
AnalyticalFunctions | createRationalFunctionWorld (grid_map::GridMap *map) |
AnalyticalFunctions | createSaddleWorld (grid_map::GridMap *map) |
AnalyticalFunctions | createSecondOrderPolyWorld (grid_map::GridMap *map) |
AnalyticalFunctions | createSineWorld (grid_map::GridMap *map) |
AnalyticalFunctions | createTanhWorld (grid_map::GridMap *map) |
void | fillGridMap (grid_map::GridMap *map, const AnalyticalFunctions &functions) |
std::vector< Point2D > | uniformlyDitributedPointsWithinMap (const grid_map::GridMap &map, unsigned int numPoints) |
void | verifyValuesAtQueryPointsAreClose (const grid_map::GridMap &map, const AnalyticalFunctions &trueValues, const std::vector< Point2D > &queryPoints, grid_map::InterpolationMethods interpolationMethod) |
Variables | |
const double | maxAbsErrorValue = 1e-3 |
std::mt19937 | rndGenerator |
static const std::string | testLayer = "test" |
AnalyticalFunctions grid_map_test::createFlatWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 21 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createGaussianWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 124 of file test_helpers.cpp.
grid_map::GridMap grid_map_test::createMap | ( | const grid_map::Length & | length, |
double | resolution, | ||
const grid_map::Position & | pos | ||
) |
Definition at line 180 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createRationalFunctionWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 36 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createSaddleWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 72 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createSecondOrderPolyWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 57 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createSineWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 86 of file test_helpers.cpp.
AnalyticalFunctions grid_map_test::createTanhWorld | ( | grid_map::GridMap * | map | ) |
Definition at line 107 of file test_helpers.cpp.
void grid_map_test::fillGridMap | ( | grid_map::GridMap * | map, |
const AnalyticalFunctions & | functions | ||
) |
Definition at line 169 of file test_helpers.cpp.
std::vector< Point2D > grid_map_test::uniformlyDitributedPointsWithinMap | ( | const grid_map::GridMap & | map, |
unsigned int | numPoints | ||
) |
Definition at line 192 of file test_helpers.cpp.
void grid_map_test::verifyValuesAtQueryPointsAreClose | ( | const grid_map::GridMap & | map, |
const AnalyticalFunctions & | trueValues, | ||
const std::vector< Point2D > & | queryPoints, | ||
grid_map::InterpolationMethods | interpolationMethod | ||
) |
Definition at line 212 of file test_helpers.cpp.
const double grid_map_test::maxAbsErrorValue = 1e-3 |
Definition at line 49 of file test_helpers.hpp.
std::mt19937 grid_map_test::rndGenerator |
Definition at line 19 of file test_helpers.cpp.
|
static |
Definition at line 25 of file test_helpers.hpp.