rm_balance/User/module/config.h
2025-10-01 02:29:24 +08:00

35 lines
619 B
C

/*
* 配置相关
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "module/shoot.h"
#include "module/gimbal.h"
#include "device/rc_can.h"
typedef struct {
Shoot_Params_t shoot_param;
Gimbal_Params_t gimbal_param;
RC_CAN_Param_t rc_can_param;
// Shoot_Params_t shoot_param; /* 射击参数 */
} Config_RobotParam_t;
/* Exported functions prototypes -------------------------------------------- */
/**
* @brief 获取机器人配置参数
* @return 机器人配置参数指针
*/
Config_RobotParam_t* Config_GetRobotParam(void);
#ifdef __cplusplus
}
#endif