detect_zero_vel.h 324 B

1234567891011121314
  1. #ifndef __detect_zero_vel_h__
  2. #define __detect_zero_vel_h__
  3. #define WINDOW_SIZE 15
  4. #include "main.h"
  5. void detect_zero_vel(int16_t front[3], int16_t back[3], int16_t acc[3],
  6. int16_t *front_zero, int16_t *back_zero, int16_t *acc_zero);
  7. void start_cal_step(int16_t front[3], int16_t back[3], int16_t acc[3]);
  8. #endif