Moving Area

It is assumed, that the original heading direction (DIR) is along the Y-axis. Turning right (R) shifts the direction $ 90^{o}$ clockwise around. Turning left (L) shifts the direction counter clockwise $ 90^{o}$ to the 'left'. Turning back (B) shifts the direction $ 180^{o}$. A translation of the above mentioned command file 8.5 in a simple area is given in figure 8.6:

Figure 8.6: Example of an interpreted command file
\includegraphics[width=2.5in]{movements_interpreted_in_area.eps}

It is further assumed that the movement manager doesn't make a movement if the moving object is located at a boarder of the moving area and wants to move beyond the boarder. Boarders act like walls in the real world.



Gerd Doeben-Henisch 2012-03-31