pilot.GridMapData¶
Fields¶
-
string
name
¶
-
long
last_modified
¶ timestamp [usec]
-
float
scale
¶ size of a pixel in [m]
-
Vector2d
origin
¶ grid offset (map position of lower left pixel, world to map) [m]
-
double
orientation
¶ grid rotation (world to map) [rad]
Methods¶
-
void
transform
(Transform3D *sample)¶
-
Matrix4d
get_grid_to_frame
() const¶ computes grid to ‘frame’ 2.5D transformation matrix
-
Matrix4d
get_frame_to_grid
() const¶ computes ‘frame’ to grid 2.5D transformation matrix
-
bool
same_as
(GridMapData *other) const¶ returns true if both have same name and last_modified time
-
map_info_t
get_info
() const¶