This commit is contained in:
Robofish 2025-02-24 14:15:46 +08:00
parent 4703c39639
commit be3d2120bb
4 changed files with 9357 additions and 9359 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -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)) {

View File

@ -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 {