111
Dependencies: yezhong_main_controller_copy mbed1-dev
DATA_BOARD/data_board.h@6:902ba9999d6c, 2022-01-11 (annotated)
- Committer:
- yezhong
- Date:
- Tue Jan 11 13:34:14 2022 +0000
- Revision:
- 6:902ba9999d6c
- Parent:
- 5:2503c88a564f
- Child:
- 7:d1b09098579b
11
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
panzhan | 0:d80c66cb1b3a | 1 | #ifndef _DATA_BOARD_H |
panzhan | 0:d80c66cb1b3a | 2 | #define _DATA_BOARD_H |
panzhan | 0:d80c66cb1b3a | 3 | |
panzhan | 0:d80c66cb1b3a | 4 | |
panzhan | 0:d80c66cb1b3a | 5 | #include "mbed.h" |
panzhan | 0:d80c66cb1b3a | 6 | #include "math_ops.h" |
panzhan | 0:d80c66cb1b3a | 7 | |
panzhan | 0:d80c66cb1b3a | 8 | |
panzhan | 0:d80c66cb1b3a | 9 | extern Serial foot; |
panzhan | 0:d80c66cb1b3a | 10 | |
panzhan | 0:d80c66cb1b3a | 11 | |
panzhan | 0:d80c66cb1b3a | 12 | //extern unsigned int flag_485_A, flag_485_B; |
panzhan | 0:d80c66cb1b3a | 13 | //extern unsigned int S485num; |
panzhan | 0:d80c66cb1b3a | 14 | //extern uint16_t S485get[10]; |
panzhan | 0:d80c66cb1b3a | 15 | extern uint16_t S485use[10]; |
panzhan | 0:d80c66cb1b3a | 16 | |
panzhan | 0:d80c66cb1b3a | 17 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:d80c66cb1b3a | 18 | |
panzhan | 0:d80c66cb1b3a | 19 | extern unsigned int Gait_num_valid, Gait_now, Gait_per_now, Gait_cycle_now; |
panzhan | 0:d80c66cb1b3a | 20 | extern float COP_Y, COP_X; |
panzhan | 0:d80c66cb1b3a | 21 | extern uint16_t Gait_per_now_int, COP_Y_int, COP_X_int, Gait_cycle_now_int; |
panzhan | 0:d80c66cb1b3a | 22 | |
panzhan | 0:d80c66cb1b3a | 23 | extern unsigned int Gait_num_valid_0before, Gait_now_0before; |
panzhan | 0:d80c66cb1b3a | 24 | extern float Gait_per_now_0before, COP_Y_0before, COP_X_0before, Gait_cycle_now_0before; |
panzhan | 0:d80c66cb1b3a | 25 | |
panzhan | 0:d80c66cb1b3a | 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:d80c66cb1b3a | 27 | extern float COP_Y_real, COP_X_real; |
panzhan | 0:d80c66cb1b3a | 28 | |
panzhan | 0:d80c66cb1b3a | 29 | |
panzhan | 0:d80c66cb1b3a | 30 | //void gait_decode(); |
panzhan | 0:d80c66cb1b3a | 31 | //void gait_clear(); |
panzhan | 0:d80c66cb1b3a | 32 | |
panzhan | 0:d80c66cb1b3a | 33 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:d80c66cb1b3a | 34 | |
panzhan | 0:d80c66cb1b3a | 35 | void serial_board_isr(); |
panzhan | 0:d80c66cb1b3a | 36 | |
panzhan | 0:d80c66cb1b3a | 37 | //////////////////////////////////////////////////////////////////////////////// |
panzhan | 0:d80c66cb1b3a | 38 | |
yezhong | 5:2503c88a564f | 39 | |
yezhong | 5:2503c88a564f | 40 | |
yezhong | 5:2503c88a564f | 41 | extern AnalogIn LaLi_pf; |
yezhong | 5:2503c88a564f | 42 | extern AnalogIn LaLi_df; |
yezhong | 5:2503c88a564f | 43 | extern AnalogIn LaLi_df1; |
yezhong | 5:2503c88a564f | 44 | |
yezhong | 5:2503c88a564f | 45 | extern float La_pf_real, La_df_real,La_df1_real; |
yezhong | 5:2503c88a564f | 46 | extern float Ffilter_pf[10 + 2]; |
yezhong | 5:2503c88a564f | 47 | extern float pf_filter ; |
yezhong | 5:2503c88a564f | 48 | extern float F_pf; |
yezhong | 5:2503c88a564f | 49 | |
panzhan | 0:d80c66cb1b3a | 50 | #endif |
panzhan | 0:d80c66cb1b3a | 51 | |
panzhan | 0:d80c66cb1b3a | 52 | |
panzhan | 0:d80c66cb1b3a | 53 | |
panzhan | 0:d80c66cb1b3a | 54 | |
panzhan | 0:d80c66cb1b3a | 55 | |
panzhan | 0:d80c66cb1b3a | 56 | |
panzhan | 0:d80c66cb1b3a | 57 | |
panzhan | 0:d80c66cb1b3a | 58 | |
panzhan | 0:d80c66cb1b3a | 59 | |
panzhan | 0:d80c66cb1b3a | 60 | |
panzhan | 0:d80c66cb1b3a | 61 | |
panzhan | 0:d80c66cb1b3a | 62 | |
panzhan | 0:d80c66cb1b3a | 63 | |
panzhan | 0:d80c66cb1b3a | 64 |