4#include "TinyRobotics/coordinates/Coordinate.h"
6namespace tinyrobotics {
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26template <
typename T = DistanceM>
30
31
32
33
34
38
39
40
41
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
78template <
typename T = DistanceM>
82
83
87
88
92
93
97
98
99
100
101
102
106
107
108
109
110
A generic 3D coordinate class for robotics, navigation, and spatial calculations.
Definition: Coordinate.h:57
Abstract interface for neighbor queries in map-like data structures.
Definition: IMap.h:27
virtual std::vector< Coordinate< T > > getNeighbors(Coordinate< T > from) const =0
Get world coordinates of neighboring cells (for pathfinding or navigation).
virtual bool isValid(const Coordinate< T > &coord) const =0
Check if a coordinate is inside the map bounds.
Abstract interface for 2D grid maps and occupancy maps in TinyRobotics.
Definition: IMap.h:79
virtual int getYCount() const =0
Get the number of cells in the Y direction.
virtual bool getCell(int x, int y, CellState &state) const =0
Get the state of a cell by integer indices.
virtual float getResolution() const =0
Get the map resolution (cell size in meters).
virtual Coordinate< T > toWorld(int x, int y) const =0
Convert cell indices to world coordinates.
virtual int getXCount() const =0
Get the number of cells in the X direction.
CellState
Cell state for occupancy grid mapping (e.g., UNKNOWN, FREE, OCCUPIED).
Definition: Common.h:32