#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. |
Definition in file robotdo.h.
|
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(). |
|
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(). |
|
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(). |
|
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(). |