git init git checkout -b main git add README.md git commit -m "first commit" git remote add origin ssh://git@gitea.qutrobot.top:222/yunhai/Infantry.git git push -u origin main
34 lines
581 B
C
34 lines
581 B
C
/*
|
|
* 配置相关
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
//#include "device/dm_imu.h"
|
|
#include "gimbal.h"
|
|
#include "shoot.h"
|
|
#include "module/chassis.h"
|
|
|
|
typedef struct {
|
|
Gimbal_Params_t gimbal_param;
|
|
Shoot_Params_t shoot_param;
|
|
Chassis_Params_t chassis_param;
|
|
} Config_RobotParam_t;
|
|
|
|
/* Exported functions prototypes -------------------------------------------- */
|
|
|
|
/**
|
|
* @brief 获取机器人配置参数
|
|
* @return 机器人配置参数指针
|
|
*/
|
|
Config_RobotParam_t* Config_GetRobotParam(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|