Tobis Programm forked to not destroy your golden files
Fork of Robocode by
source/Safety.cpp@38:3526c36e4c73, 2017-04-04 (annotated)
- Committer:
- cittecla
- Date:
- Tue Apr 04 15:01:59 2017 +0000
- Revision:
- 38:3526c36e4c73
- Child:
- 126:d0b2057272d0
Started resolving State_Machine
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cittecla | 38:3526c36e4c73 | 1 | #pragma once |
cittecla | 38:3526c36e4c73 | 2 | |
cittecla | 38:3526c36e4c73 | 3 | #include "mbed.h" |
cittecla | 38:3526c36e4c73 | 4 | #include "Safety.h" |
cittecla | 38:3526c36e4c73 | 5 | |
cittecla | 38:3526c36e4c73 | 6 | void safety(){ |
cittecla | 38:3526c36e4c73 | 7 | |
cittecla | 38:3526c36e4c73 | 8 | } |
cittecla | 38:3526c36e4c73 | 9 | |
cittecla | 38:3526c36e4c73 | 10 | int emergency_shutdown(){ |
cittecla | 38:3526c36e4c73 | 11 | |
cittecla | 38:3526c36e4c73 | 12 | return 0; |
cittecla | 38:3526c36e4c73 | 13 | } |
cittecla | 38:3526c36e4c73 | 14 | |
cittecla | 38:3526c36e4c73 | 15 | int colision_detected(){ |
cittecla | 38:3526c36e4c73 | 16 | |
cittecla | 38:3526c36e4c73 | 17 | return 0; |
cittecla | 38:3526c36e4c73 | 18 | } |
cittecla | 38:3526c36e4c73 | 19 | |
cittecla | 38:3526c36e4c73 | 20 | int current_to_high(){ |
cittecla | 38:3526c36e4c73 | 21 | |
cittecla | 38:3526c36e4c73 | 22 | return 0; |
cittecla | 38:3526c36e4c73 | 23 | } |
cittecla | 38:3526c36e4c73 | 24 | |
cittecla | 38:3526c36e4c73 | 25 | int overheating(){ |
cittecla | 38:3526c36e4c73 | 26 | |
cittecla | 38:3526c36e4c73 | 27 | return 0; |
cittecla | 38:3526c36e4c73 | 28 | } |
cittecla | 38:3526c36e4c73 | 29 |