M Seiser
/
BERTL_Test_FSST
Bertl moves picks the beepers in the corners and gets out of the room.
main.cpp@0:339f000abe3a, 2015-04-23 (annotated)
- Committer:
- mSeiser
- Date:
- Thu Apr 23 12:06:05 2015 +0000
- Revision:
- 0:339f000abe3a
Move , PickBeeper and Turn;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mSeiser | 0:339f000abe3a | 1 | #include "mbed.h" |
mSeiser | 0:339f000abe3a | 2 | #include "ur_Bertl.h" |
mSeiser | 0:339f000abe3a | 3 | #include "task_Bertl.h" |
mSeiser | 0:339f000abe3a | 4 | |
mSeiser | 0:339f000abe3a | 5 | int main() |
mSeiser | 0:339f000abe3a | 6 | { |
mSeiser | 0:339f000abe3a | 7 | Task_Bertl robot; |
mSeiser | 0:339f000abe3a | 8 | |
mSeiser | 0:339f000abe3a | 9 | robot.MovePickTurn(); |
mSeiser | 0:339f000abe3a | 10 | robot.MovePickTurn(); |
mSeiser | 0:339f000abe3a | 11 | robot.Move(); |
mSeiser | 0:339f000abe3a | 12 | robot.TurnRight(); |
mSeiser | 0:339f000abe3a | 13 | robot.Move2Boxes(); |
mSeiser | 0:339f000abe3a | 14 | robot.ShutOff(); |
mSeiser | 0:339f000abe3a | 15 | |
mSeiser | 0:339f000abe3a | 16 | |
mSeiser | 0:339f000abe3a | 17 | |
mSeiser | 0:339f000abe3a | 18 | } |