36 lines
467 B
C
36 lines
467 B
C
/*
|
|
* 配置相关
|
|
* 读写在FALSH上的信息
|
|
*/
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "device/bmi088.h"
|
|
#include "module/chassis.h"
|
|
#include "module/gimbal.h"
|
|
typedef struct{
|
|
Chassis_Param_t chassis; /**/
|
|
Gimbal_Param_t gimbal;
|
|
|
|
|
|
AHRS_Eulr_t mech_zero[4];
|
|
|
|
}Config_Param_t;
|
|
|
|
typedef struct{
|
|
Config_Param_t *chassis_config;
|
|
|
|
BMI088_Cali_t cali_088;
|
|
|
|
}Config_t;
|
|
|
|
|
|
Config_Param_t* Config_GetRobotParam(void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |