Protected Types | |
using | ScanPoints = std::vector< ScanPoint2D > |
Protected Member Functions | |
void | check_scan_point (const ScanPoint2D &expected, const ScanPoint2D &actual, const ScanPoint2D &abs_err) |
void | check_scan_points (const ScanPoints &expected, const ScanPoints &actual, const ScanPoint2D &sp_err={Map_Scale/2, 0.001}) |
void | dbg_show_map_near_robot (int l, int r, int u, int d) |
LaserScanGeneratorTest () | |
void | patch_map (const MapPrimitive &mp, int scale) |
void | prepare_map_and_robot_pose (const MapPrimitive &mp, const RobotPoseDelta &rpd, int scale=Patch_Scale) |
Protected Attributes | |
LaserScanGenerator | lsg {LaserScannerParams{150, deg2rad(90), deg2rad(180)}} |
UnboundedPlainGridMap | map |
RobotPose | rpose |
Static Protected Attributes | |
static constexpr int | Map_Height = 100 |
static constexpr double | Map_Scale = 1 |
static constexpr int | Map_Width = 100 |
static constexpr int | Patch_Scale = 10 |
Definition at line 14 of file laser_scan_generator_test.cpp.
|
protected |
Definition at line 21 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 16 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 52 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 41 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 61 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 36 of file laser_scan_generator_test.cpp.
|
inlineprotected |
Definition at line 29 of file laser_scan_generator_test.cpp.
|
protected |
Definition at line 70 of file laser_scan_generator_test.cpp.
|
protected |
Definition at line 68 of file laser_scan_generator_test.cpp.
|
staticprotected |
Definition at line 24 of file laser_scan_generator_test.cpp.
|
staticprotected |
Definition at line 25 of file laser_scan_generator_test.cpp.
|
staticprotected |
Definition at line 23 of file laser_scan_generator_test.cpp.
|
staticprotected |
Definition at line 27 of file laser_scan_generator_test.cpp.
|
protected |
Definition at line 69 of file laser_scan_generator_test.cpp.