0 MAP_PLAYGROUND_WIDTH_MM
MAP_PLAYGROUND_HEIGHT_MM +---------------------------------------+
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
y=0 +---------------------------------------+ 0
x=0 MAP_PLAYGROUND_WIDTH_MM
X 0 1 2 3 4 5 6 7 8 MAP_WIDTH-1 Y +---+---+---+---+---+---+---+---+---+---+ 0 |0,0| | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ 1 | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ | | | | | | | | | | | +---+---+---+---+---+---+---+---+---+---+ MAP_HEIGHT-1
One special type is MAP_NOT_IN_MAP. It is a error code return when we try to acces to a space wich is not in the map. (i.e. the request cell/point exceeds map dimensions.)
ShmapUpdateTmpObstacles() is a specific function created for Eurobot Project. Please, see an example in testmap.c file
1.5.3