提交
This commit is contained in:
parent
4703c39639
commit
be3d2120bb
Binary file not shown.
18701
MDK-ARM/DevC/DevC.hex
18701
MDK-ARM/DevC/DevC.hex
File diff suppressed because it is too large
Load Diff
5
Middlewares/Third_Party/Protocol/protocol.h
vendored
5
Middlewares/Third_Party/Protocol/protocol.h
vendored
@ -43,7 +43,6 @@ typedef struct __attribute__((packed)) {
|
||||
float rol; /* 翻滚角(Roll angle) */
|
||||
} gimbal; /* 欧拉角 */
|
||||
|
||||
float bullet_speed /* 弹丸速度 */;
|
||||
uint8_t notice; /* 控制命令 */
|
||||
|
||||
} Protocol_UpDataMCU_t;
|
||||
@ -63,14 +62,14 @@ typedef struct __attribute__((packed)) {
|
||||
float rol; /* 翻滚角(Roll angle) */
|
||||
} gimbal; /* 欧拉角 */
|
||||
|
||||
float distance; /*目标距离*/
|
||||
uint8_t notice; /* 控制命令 */
|
||||
|
||||
struct __attribute__((packed)) {
|
||||
float vx; /* x轴移动速度 */
|
||||
float vy; /* y轴移动速度 */
|
||||
float wz; /* z轴转动速度 */
|
||||
} chassis_move_vec; /* 底盘移动向量 */
|
||||
uint8_t notice; /* 控制命令 */
|
||||
|
||||
} Protocol_DownData_t;
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
|
@ -23,9 +23,9 @@ extern "C" {
|
||||
#define REF_SWITCH_STATUS(ref, stat) ((ref).ref_status = (stat))
|
||||
#define CHASSIS_POWER_MAX_WITHOUT_REF 2000.0f /* 裁判系统离线底盘最大功率 */
|
||||
|
||||
#define REF_UI_MAX_GRAPIC_NUM (7)
|
||||
#define REF_UI_MAX_STRING_NUM (7)
|
||||
#define REF_UI_MAX_DEL_NUM (3)
|
||||
#define REF_UI_MAX_GRAPIC_NUM (7) /* 最大图形数量 */
|
||||
#define REF_UI_MAX_STRING_NUM (7) /* 最大字符串数量 */
|
||||
#define REF_UI_MAX_DEL_NUM (3) /* 最大删除数量 */
|
||||
|
||||
/* Exported types ----------------------------------------------------------- */
|
||||
typedef struct __packed {
|
||||
|
Loading…
Reference in New Issue
Block a user