-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAno_Navigate.h
38 lines (30 loc) · 1.18 KB
/
Ano_Navigate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __NAVIGATE_H
#define __NAVIGATE_H
/* Includes ------------------------------------------------------------------*/
#include "Ano_FcData.h"
#include "Ano_Filter.h"
/* Exported types ------------------------------------------------------------*/
typedef struct
{
float ref_acc_w[VEC_XYZ];
float ref_speed_w_pre[VEC_XYZ];
float ref_speed_w_pre_old[VEC_XYZ];
float ref_speed_w[VEC_XYZ];
float ref_speed_w_old[VEC_XYZ];
float ref_speed_h[VEC_XYZ];
_inte_fix_filter_st acc_if[VEC_XYZ];
_fix_inte_filter_st speed_fi[VEC_XYZ];
_inte_fix_filter_st speed_if[VEC_XYZ];
float acc_out_w[VEC_XYZ];
float speed_out_w_pre[VEC_XYZ];
float speed_out_w[VEC_XYZ];
float speed_out_h[VEC_XYZ];
} _w_speed_fus_st;
extern _w_speed_fus_st w_speed_fus;
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void wxy_speed_fusing(float dT,u8 est_en,u8 fix_en);
void wxy_fus_task(float dT);
#endif