Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

SGrid Class Reference

A class representing the "world" occupancy grid. More...

#include <sgrid.h>

Inheritance diagram for SGrid:

invariant

Public Member Functions

 SGrid (void)

Static Public Member Functions

void map_reset (short iwidth, short iheight)
uint8 obstacle (int i, int j)
 Returns whether obstacle or not.

uint8 layer (int i, int j)
void wall (int x, int y, uint8 ctype, uint8 layer=0)
 Fills in a node with Terrain type specified.

void initialize (void)
int debug (int i, int j)

Static Public Attributes

short _map_width
short _map_height

Detailed Description

A class representing the "world" occupancy grid.

NOTE: Really just same as occupancy grid except no embedded portion and the memory address is in simulator space: SIM_MAP_RAM--not HW_MAP_RAM, but interface is identical.


Constructor & Destructor Documentation

SGrid void   ) 
 


Member Function Documentation

int debug int  i,
int  j
[static]
 

void initialize void   )  [static]
 

uint8 layer int  i,
int  j
[static]
 

void map_reset short  iwidth,
short  iheight
[static]
 

uint8 obstacle int  i,
int  j
[static]
 

Returns whether obstacle or not.

void wall int  x,
int  y,
uint8  ctype,
uint8  layer = 0
[static]
 

Fills in a node with Terrain type specified.


Field Documentation

short _map_height [static]
 

short _map_width [static]
 


Generated on Mon Oct 8 19:32:27 2007 for OOMRM Mapping API by doxygen1.3