41 lines
830 B
C
41 lines
830 B
C
/*
|
|
* 配置相关
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "module/shoot.h"
|
|
#include "module/balance_chassis.h"
|
|
#include "module/gimbal.h"
|
|
#include "device/vision_bridge.h"
|
|
/**
|
|
* @brief 机器人参数配置结构体
|
|
* @note 在此添加您的配置参数
|
|
*/
|
|
typedef struct {
|
|
/* USER CODE BEGIN Config_RobotParam */
|
|
Shoot_Params_t shoot_param;
|
|
Chassis_Params_t chassis_param;
|
|
Gimbal_Params_t gimbal_param;
|
|
AI_Param_t ai_param;
|
|
/* USER CODE END Config_RobotParam */
|
|
} Config_RobotParam_t;
|
|
|
|
/* Exported functions prototypes -------------------------------------------- */
|
|
|
|
/**
|
|
* @brief 获取机器人配置参数
|
|
* @return 机器人配置参数指针
|
|
*/
|
|
Config_RobotParam_t* Config_GetRobotParam(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|