Project

General

Profile

Revision 11aa087a

ID11aa087a867c52e55873dbfb387b75e4bf85d6f2

Added by Priya almost 12 years ago

Demo almost working Scouts go home! a

View differences:

scout/libscout/src/behaviors/navigationMap.cpp
51 51
navigationMap::navigationMap(string scoutname) : Behavior(scoutname, "navigationMap")
52 52
{
53 53
  /** Initialize Map 
54
   *
55
   *   1           2          3         4
56
   *  ----|-----------|----------|---------|---------->
54
   *                     _____
55
   *   1           2     |    | 3         4
56
   *  ----|-----------|--|----|--|---------|---------->
57 57
   *  <---|--5--------|--6-------|--7------|--8-------
58 58
   *      |           |          |         |
59 59
   *     9|         10|        11|       12|
60 60
   *      |           |          |         |
61
   *     ---         ---        ---       ---
61
   *     ---13       ---14      ---15     ---16
62 62
   */
63 63
  
64 64
    Edge* a1 = new Edge[ARRAY_SIZE];

Also available in: Unified diff