feat(head): add USB eRPC joint and expression control #2

Merged
linbo merged 3 commits from tkt_dev into dev 2026-11-13 10:36:43 +08:00

3 Commits

Author SHA1 Message Date
bef898b1b8 add erpc lib 2026-11-13 10:24:49 +08:00
ac82695467 add dexhand sensordata 2026-11-13 10:22:42 +08:00
567ae938ef feat(head): add USB eRPC head control and expression gRPC
Add a head-local USB serial/eRPC backend through the existing device factory,
configuration, BioHeadService, logging and control arbiter. Support typed joint
commands, custom five-joint expressions and six frozen upper-computer presets
with 20 ms transitions, validation, ACK baselines and cancellation.

Retain existing ESP32 behavior and API field numbers. Publish only USB head
registration; preserve the machine-local AGV disable override in the worktree.

Validation: cmvr_es build; four head test targets (17 backend and 14 gRPC cases,
plus protocol and serial tests); live USB connection and gRPC state query.
The user additionally confirmed physical testing passed.
2026-11-11 14:58:50 +08:00