改chassis_cmd_send.vx发送bug,窝系牢痰

This commit is contained in:
chenfu
2024-05-21 13:28:12 +08:00
parent 01c894ef97
commit dbf246a750
2 changed files with 14 additions and 9 deletions

View File

@@ -18,8 +18,8 @@
/* 开发板类型定义,烧录时注意不要弄错对应功能;修改定义后需要重新编译,只能存在一个定义! */
// #define ONE_BOARD // 单板控制整车
#define CHASSIS_BOARD //底盘板
//#define GIMBAL_BOARD //云台板
//#define CHASSIS_BOARD //底盘板
#define GIMBAL_BOARD //云台板
#define VISION_USE_VCP // 使用虚拟串口发送视觉数据
// #define VISION_USE_UART // 使用串口发送视觉数据
@@ -84,6 +84,7 @@ typedef enum
CHASSIS_FREE_DEBUG, // 底盘单独调试模式
} chassis_mode_e;
// 云台模式设置
typedef enum
{
@@ -127,8 +128,8 @@ typedef struct
typedef enum
{
CAHSSIS_ALIGN = 0,
CHASSIS_SIDLE
CHASSIS_ALIGN = 0,
CHASSIS_SIDLE,
} chassis_direction_e;
/* ----------------CMD应用发布的控制数据,应当由gimbal/chassis/shoot订阅---------------- */