12
DATA_BOARD/data_board.h@0:dd5d4837292c, 2021-06-09 (annotated)
- Committer:
- panzhan
- Date:
- Wed Jun 09 01:41:45 2021 +0000
- Revision:
- 0:dd5d4837292c
continuous motion
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
panzhan | 0:dd5d4837292c | 1 | #ifndef _DATA_BOARD_H |
panzhan | 0:dd5d4837292c | 2 | #define _DATA_BOARD_H |
panzhan | 0:dd5d4837292c | 3 | |
panzhan | 0:dd5d4837292c | 4 | |
panzhan | 0:dd5d4837292c | 5 | #include "mbed.h" |
panzhan | 0:dd5d4837292c | 6 | #include "math_ops.h" |
panzhan | 0:dd5d4837292c | 7 | #include "data_pc.h" |
panzhan | 0:dd5d4837292c | 8 | |
panzhan | 0:dd5d4837292c | 9 | extern Serial foot; |
panzhan | 0:dd5d4837292c | 10 | |
panzhan | 0:dd5d4837292c | 11 | |
panzhan | 0:dd5d4837292c | 12 | |
panzhan | 0:dd5d4837292c | 13 | //extern unsigned int flag_foot_A, flag_foot_B; |
panzhan | 0:dd5d4837292c | 14 | //extern unsigned int Sfootnum; |
panzhan | 0:dd5d4837292c | 15 | //extern uint16_t Sfootget[10]; |
panzhan | 0:dd5d4837292c | 16 | //extern uint16_t Sfootuse[10]; |
panzhan | 0:dd5d4837292c | 17 | |
panzhan | 0:dd5d4837292c | 18 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:dd5d4837292c | 19 | |
panzhan | 0:dd5d4837292c | 20 | extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now; |
panzhan | 0:dd5d4837292c | 21 | extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int; |
panzhan | 0:dd5d4837292c | 22 | |
panzhan | 0:dd5d4837292c | 23 | extern unsigned int Gait_num_valid_0before, Gait_now_0before; |
panzhan | 0:dd5d4837292c | 24 | extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before; |
panzhan | 0:dd5d4837292c | 25 | |
panzhan | 0:dd5d4837292c | 26 | extern unsigned int Gait_num_valid_real, Gait_now_real, Gait_per_now_real, Gait_cycle_now_real, time_portion_now_real; |
panzhan | 0:dd5d4837292c | 27 | |
panzhan | 0:dd5d4837292c | 28 | |
panzhan | 0:dd5d4837292c | 29 | |
panzhan | 0:dd5d4837292c | 30 | //void gait_decode(); |
panzhan | 0:dd5d4837292c | 31 | //void gait_clear(); |
panzhan | 0:dd5d4837292c | 32 | |
panzhan | 0:dd5d4837292c | 33 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:dd5d4837292c | 34 | |
panzhan | 0:dd5d4837292c | 35 | void serial_board_isr(); |
panzhan | 0:dd5d4837292c | 36 | |
panzhan | 0:dd5d4837292c | 37 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:dd5d4837292c | 38 | |
panzhan | 0:dd5d4837292c | 39 | #endif |
panzhan | 0:dd5d4837292c | 40 | |
panzhan | 0:dd5d4837292c | 41 | |
panzhan | 0:dd5d4837292c | 42 | |
panzhan | 0:dd5d4837292c | 43 | |
panzhan | 0:dd5d4837292c | 44 | |
panzhan | 0:dd5d4837292c | 45 | |
panzhan | 0:dd5d4837292c | 46 | |
panzhan | 0:dd5d4837292c | 47 | |
panzhan | 0:dd5d4837292c | 48 | |
panzhan | 0:dd5d4837292c | 49 | |
panzhan | 0:dd5d4837292c | 50 | |
panzhan | 0:dd5d4837292c | 51 | |
panzhan | 0:dd5d4837292c | 52 | |
panzhan | 0:dd5d4837292c | 53 |