32 lines
563 B
C
32 lines
563 B
C
/*
|
|
* 配置相关
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include "component/pid.h"
|
|
#include "device/motor.h"
|
|
#include "device/motor_rm.h"
|
|
#include "module/shoot_control.h"
|
|
|
|
typedef struct {
|
|
Shoot_Params_t shoot_param;
|
|
} Config_RobotParam_t;
|
|
|
|
/* Exported functions prototypes -------------------------------------------- */
|
|
|
|
/**
|
|
* @brief 获取机器人配置参数
|
|
* @return 机器人配置参数指针
|
|
*/
|
|
Config_RobotParam_t* Config_GetRobotParam(void);
|
|
int8_t Config_ShootInit(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|