Georgios Charalampidis
/
LANGSAM_FAHREN
lululu
main.cpp@0:23285c587cc3, 2018-04-16 (annotated)
- Committer:
- charageo
- Date:
- Mon Apr 16 13:15:53 2018 +0000
- Revision:
- 0:23285c587cc3
lol
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
charageo | 0:23285c587cc3 | 1 | #include "mbed.h" |
charageo | 0:23285c587cc3 | 2 | |
charageo | 0:23285c587cc3 | 3 | |
charageo | 0:23285c587cc3 | 4 | case LANGSAM_FAHREN; |
charageo | 0:23285c587cc3 | 5 | |
charageo | 0:23285c587cc3 | 6 | if ((fabs(controller.getActualTranslationalVelocity()) < 0.01f ) |
charageo | 0:23285c587cc3 | 7 | && (fabs(controller.getActualRotationalVelocity()) < 0.1f ) { |
charageo | 0:23285c587cc3 | 8 | enableMotorDriver = 0; |
charageo | 0:23285c587cc3 | 9 | state = ROBOT_OFF; |
charageo | 0:23285c587cc3 | 10 | } |
charageo | 0:23285c587cc3 | 11 | break; |