50 lines
1.0 KiB
C
50 lines
1.0 KiB
C
/*
|
|
* 配置相关
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
<<<<<<< HEAD
|
|
#include "device/motor_lz.h"
|
|
#include "device/motor_lk.h"
|
|
#include "module/balance_chassis.h"
|
|
#include "module/gimbal.h"
|
|
#include "module/shoot.h"
|
|
#include "device/virtual_chassis.h"
|
|
|
|
typedef struct {
|
|
Shoot_Params_t shoot_param;
|
|
Chassis_Params_t chassis_param;
|
|
Gimbal_Params_t gimbal_param;
|
|
Virtual_Chassis_Param_t virtual_chassis_param; // 虚拟底盘参数
|
|
=======
|
|
#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; /* 射击参数 */
|
|
>>>>>>> upper
|
|
} Config_RobotParam_t;
|
|
|
|
/* Exported functions prototypes -------------------------------------------- */
|
|
|
|
/**
|
|
* @brief 获取机器人配置参数
|
|
* @return 机器人配置参数指针
|
|
*/
|
|
Config_RobotParam_t* Config_GetRobotParam(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|