Compare commits
1 Commits
28438d05bb
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 9883eb4b44 |
@@ -52,12 +52,12 @@ com.example.m20_gamepad/
|
|||||||
- **Header 结构**: `Sync(0xEB 91 EB 90) | Length(u16 LE) | MsgId(u16 LE) | Format(0x01) | Reserved(7字节)`
|
- **Header 结构**: `Sync(0xEB 91 EB 90) | Length(u16 LE) | MsgId(u16 LE) | Format(0x01) | Reserved(7字节)`
|
||||||
- **ASDU 固定外层**: `{"PatrolDevice": {"Type": int, "Command": int, "Time": "YYYY-MM-DD HH:mm:ss", "Items": {}}}`
|
- **ASDU 固定外层**: `{"PatrolDevice": {"Type": int, "Command": int, "Time": "YYYY-MM-DD HH:mm:ss", "Items": {}}}`
|
||||||
- **关键指令**:
|
- **关键指令**:
|
||||||
- 心跳: Type=100, Cmd=100, ≥1 Hz
|
- 心跳:Type=100, Cmd=100, ≥1 Hz
|
||||||
- 轴指令: Type=2, Cmd=21, Items: {X,Y,Z,Roll,Pitch,Yaw}, [-1,1], ≥20 Hz
|
- 轴指令:Type=2, Cmd=21, Items: {X,Y,Z,Roll,Pitch,Yaw}, [-1,1], ≥20 Hz
|
||||||
- 速度指令: Type=2, Cmd=25, Items: {X,Y,Z,Roll,Pitch,Yaw}, 物理单位, ≥10 Hz
|
- 速度指令:Type=2, Cmd=25, Items: {X,Y,Z,Roll,Pitch,Yaw}, 物理单位,≥10 Hz
|
||||||
- 运动状态转换: Type=2, Cmd=22, Items: {MotionParam}
|
- 运动状态转换:Type=2, Cmd=22, Items: {MotionParam}
|
||||||
- 步态切换: Type=2, Cmd=23, Items: {GaitParam}
|
- 步态切换:Type=2, Cmd=23, Items: {GaitParam}
|
||||||
- 使用模式切换: Type=1101, Cmd=5, Items: {Mode}
|
- 使用模式切换:Type=1101, Cmd=5, Items: {Mode}
|
||||||
- **状态上报**: 上行响应含 ErrorCode/ErrorMessage; 主动订阅制(Type=1002, Cmd=3/4/5/6)
|
- **状态上报**: 上行响应含 ErrorCode/ErrorMessage; 主动订阅制(Type=1002, Cmd=3/4/5/6)
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -222,4 +222,4 @@ gradlew installDebug
|
|||||||
|
|
||||||
### 待办
|
### 待办
|
||||||
|
|
||||||
- [ ] 视频进一步延迟优化:探索更激进的低延迟策略(如降低帧率、缩小分辨率、调整 ExoPlayer 缓冲策略等)
|
- [ ] 视频进一步延迟优化:探索更激进的低延迟策略(跳过 Media3 ExoPlayer,直接使用 MediaCodec + SurfaceView)
|
||||||
|
|||||||
Reference in New Issue
Block a user