chore: 导入 Simba-OmniInfantry 基线(云台/底盘双工程)

- 云台(ROBOT_TYPE_GIMBAL)与底盘(ROBOT_TYPE_CHASSIS)完整固件源码
- 新增根级 .gitignore,排除 Keil MDK-ARM 构建产物(.o/.d/.crf/.axf/.lnp/.map/.htm/.sct/.dep/.iex/.lst 等)
  与 *.uvguix.* / DebugConfig/(与机器绑定的 UI 布局)
- core.autocrlf=false,避免固件源码在检出时被改动换行符
This commit is contained in:
2026-09-12 10:28:21 +08:00
commit a4da5ad17c
517 changed files with 503795 additions and 0 deletions
@@ -0,0 +1,27 @@
/* robot_cmd_task.h - 图传键鼠数据结构 keyboard_data_t(0x0304 解析结果) */
#ifndef ROBOT_CMD_TASK_H
#define ROBOT_CMD_TASK_H
#include <stdint.h>
#include "robot_typedef.h"
/* 图传键鼠数据(0x0304 解析) */
typedef struct
{
int16_t mouse_rl;
int16_t mouse_du;
int16_t mouse_wheel;
uint8_t mouse_key_l;
uint8_t mouse_key_r;
uint8_t key_w, key_s, key_a, key_d;
uint8_t key_shift, key_ctrl, key_q, key_e;
uint8_t key_alpha1, key_alpha2;
/* 边沿检测 */
uint8_t key_last_q, key_last_e, key_last_shift, key_last_ctrl;
uint8_t key_push_q, key_push_e, key_push_shift, key_push_ctrl;
uint32_t last_tick;
} keyboard_data_t;
extern keyboard_data_t keyboard_data;
#endif