略微更改文件架构

This commit is contained in:
sloray committed 2026-03-23 02:21:45 +08:00
1 parent f2ebd8e78a
commit d2f759ab68
10 files changed
+2 -2

No files matched your search

Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -243,7 +243,7 @@ private:
int16_t yaw = 0; // 云台偏航
int16_t pitch = 0; // 云台俯仰
uint8_t data[8];
uint16_t data[8];
data[0] = (x_move >> 8) & 0xFF;
data[1] = x_move & 0xFF;
data[2] = (y_move >> 8) & 0xFF;
@@ -269,7 +269,7 @@ private:
int16_t spin = 2; // 小陀螺开启
int16_t friction = 2; // 摩擦轮开启
uint8_t data[8];
uint16_t data[8];
data[0] = (feed >> 8) & 0xFF;
data[1] = feed & 0xFF;
data[2] = (spin >> 8) & 0xFF;
Binary file not shown.
Binary file not shown.