feat(head): add USB eRPC joint and expression control #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tkt_dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds direct USB eRPC control for the five-channel head through the existing BioHeadService, device factory, configuration, logging and control arbiter.
Clients can send complete radian targets or select six saved expressions by exact name or UUID. Expressions use bounded 20 ms minimum-jerk transitions, a connection-local five-joint Immediate ACK baseline, target validation and cancellation. Initialization probes the device without position motion; home and reconnect remain explicit operations.
Existing ESP32 behavior, RPC signatures and protobuf field numbers are preserved. USB serial and eRPC implementations remain inside the head module. Firmware ACKs report accepted targets; the current protocol provides no measured position or hardware emergency-stop command.
Validation: cmvr_es build, protocol and PTY serial tests, 17 head backend cases, 14 loopback gRPC cases, protobuf compatibility checks, and a live USB/gRPC state query.