![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Test code 29-10-2019
Dependencies: mbed RC_Servo VMA306 PID CNY70 CMPS03 GP2A Pixy
StateMachine/motor_state.h@18:ede80eb1e6d5, 2019-10-31 (annotated)
- Committer:
- ephymugo
- Date:
- Thu Oct 31 12:27:29 2019 +0000
- Revision:
- 18:ede80eb1e6d5
- Parent:
- 15:a0a88aeb4fe1
ALIGNING ROBOT
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tuk4 | 10:6c3653c53eca | 1 | #ifndef MOTOR_STATE_H |
tuk4 | 10:6c3653c53eca | 2 | #define MOTOR_STATE_H |
tuk4 | 10:6c3653c53eca | 3 | |
tuk4 | 10:6c3653c53eca | 4 | #include "mbed.h" |
tuk4 | 10:6c3653c53eca | 5 | |
tuk4 | 10:6c3653c53eca | 6 | enum motor_state { |
tuk4 | 10:6c3653c53eca | 7 | IDLE, |
tuk4 | 10:6c3653c53eca | 8 | FORWARD, |
tuk4 | 10:6c3653c53eca | 9 | BACKWARD, |
tuk4 | 10:6c3653c53eca | 10 | TURN_LEFT, |
tuk4 | 10:6c3653c53eca | 11 | TURN_RIGHT, |
tuk4 | 12:548cdc49cdba | 12 | SAFEMODE, |
tuk4 | 12:548cdc49cdba | 13 | LOOK_FOR_FILE |
tuk4 | 10:6c3653c53eca | 14 | }; |
tuk4 | 10:6c3653c53eca | 15 | |
tuk4 | 10:6c3653c53eca | 16 | #endif |
tuk4 | 10:6c3653c53eca | 17 |