#ifndef __APP_DETECT_ISHOST_H__ #define __APP_DETECT_ISHOST_H__ #include #include #include #include "sdk_common.h" #include "SEGGER_RTT.h" #include "system.h" #include "usr_config.h" typedef enum { DETECT_LR_INIT = 0, DETECT_LR_IS_RIGHT = 1, DETECT_LR_IS_LEFT = 2, } DETECT_LR_e; void app_detect_Init(void); void app_detect_LR_process_stop(void); uint8_t app_Get_isHost(void); uint8_t get_LR_readly(void); float Mahony_M_GetRoll(void); float Mahony_M_GetPitch(void); float Mahony_M_GetYaw(void); #endif