init
Dependencies: MPU6050 PinDetect circular_buffer
MotionFSM/Stacionary.cpp@0:b416214256cd, 2017-11-07 (annotated)
- Committer:
- OsmanKameric
- Date:
- Tue Nov 07 16:35:14 2017 +0000
- Revision:
- 0:b416214256cd
FIRST
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OsmanKameric | 0:b416214256cd | 1 | #include <Stacionary.h> |
OsmanKameric | 0:b416214256cd | 2 | #include <Events.h> |
OsmanKameric | 0:b416214256cd | 3 | #include <Fsm.h> |
OsmanKameric | 0:b416214256cd | 4 | |
OsmanKameric | 0:b416214256cd | 5 | Stacionary::Stacionary(FsmStates& states, Timer& timer): State(states, timer) {} |
OsmanKameric | 0:b416214256cd | 6 | |
OsmanKameric | 0:b416214256cd | 7 | State* Stacionary::handle(Move& event) |
OsmanKameric | 0:b416214256cd | 8 | { |
OsmanKameric | 0:b416214256cd | 9 | printf("Odoh u ********************************** MOVING STATE\r\n"); |
OsmanKameric | 0:b416214256cd | 10 | return states_.movingState(); |
OsmanKameric | 0:b416214256cd | 11 | } |
OsmanKameric | 0:b416214256cd | 12 | |
OsmanKameric | 0:b416214256cd | 13 |