Main Page | File List | Globals

robotdo.h File Reference

#include "basic.h"
#include "ir.h"
#include "robotsound.h"
#include "robotu.h"

Go to the source code of this file.

Functions

void do_boredom ()
 Behaviour for standart operation.

void do_sleep ()
 Behaviour for sleeping.

void do_connected ()
void do_searching ()
void do_flee ()
 Behaviour for flee.

void do_empty ()
 Behaviour for empty.


Detailed Description

Definition in file robotdo.h.


Function Documentation

void do_boredom  ) 
 

Behaviour for standart operation.

In normal operation the robot will drive around and do measure the distance with his radar.

Definition at line 14 of file robotdo.c.

Referenced by SIGNAL().

void do_empty  ) 
 

Behaviour for empty.

When the loading station is not reachable and the voltage sinks under 3,5V the robot goes to this modus. It will send three beeps out and tries to save energy. By putting hin to the loadingstation it will "wake up".

Definition at line 214 of file robotdo.c.

Referenced by SIGNAL().

void do_flee  ) 
 

Behaviour for flee.

When the robot stays around and someone pushes him he tries to resist first. After a while he flees and drives away.

Definition at line 221 of file robotdo.c.

Referenced by SIGNAL().

void do_sleep  ) 
 

Behaviour for sleeping.

When the surrounding light is too less the robot will fall in a sleep mode. It will snore a bit and remain quiet until the light gehts brighter.

Definition at line 34 of file robotdo.c.

Referenced by SIGNAL().


Generated on Wed Feb 2 20:03:50 2005 for Robot by doxygen 1.3.6