00001 #ifndef CAJUN_MAP_GRID_H 00002 #define CAJUN_MAP_GRID_H 00003 00004 00005 #include "grid.H" 00006 00007 00008 #include <float.h> 00009 00010 00011 namespace cajun 00012 { 00013 00014 00015 struct map_cell_t 00016 { 00017 static float const BLOCKED_CELL = FLT_MAX; 00018 static float const DEFAULT_CELL = FLT_MAX; 00019 00020 map_cell_t () : 00021 goal (false), boundary (DEFAULT_CELL), obstacle (0) {} 00022 00023 bool goal; 00024 float boundary; 00025 float obstacle; 00026 }; 00027 00028 00029 typedef grid_t<map_cell_t> map_grid_t; 00030 00031 00032 }; 00033 00034 00035 #endif
1.6.1