Steering_Wheel_Infatry/User/module/config.h
2025-11-26 22:12:10 +08:00

38 lines
733 B
C

/*
* 配置相关
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
//#include "device/dm_imu.h"
//#include "device/motor_lz.h"
//#include "device/motor_lk.h"
#include "gimbal.h"
#include "shoot.h"
#include "module/chassic.h"
#include "telescoping_gimal.h"
typedef struct {
Gimbal_Params_t gimbal_param;
Shoot_Params_t shoot_param;
Chassis_Param_t chassis;
Telescoping_Params_t telescoping;
} Config_RobotParam_t;
/* Exported functions prototypes -------------------------------------------- */
/**
* @brief 获取机器人配置参数
* @return 机器人配置参数指针
*/
Config_RobotParam_t* Config_GetRobotParam(void);
int8_t Config_ShootInit(void);
#ifdef __cplusplus
}
#endif