cmvr-es/protos/cmvr/config/dexhand_config/dexhand_config.proto

77 lines
1.7 KiB
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package cmvr.config;
message RH56DFTPDexHandConfig{
2026-06-24 15:45:54 +08:00
reserved 4;
string id = 1;
string ip = 2;
int32 port = 3;
int32 poll_interval_ms = 5;
}
enum PX6AXGen3PollingReadMode {
PX_6AX_GEN3_POLLING_READ_MODE_DISTRIBUTED_AND_RESULTANT_FORCE = 0;
PX_6AX_GEN3_POLLING_READ_MODE_DISTRIBUTED_FORCE = 1;
PX_6AX_GEN3_POLLING_READ_MODE_RESULTANT_FORCE = 2;
}
message PX6AXGen3{
2026-06-24 15:45:54 +08:00
reserved 10;
string id = 1;
string serial_port = 2;
string sensor_model = 3;
int32 module_id = 4;
int32 baud_rate = 5;
int32 distributed_length = 6;
int32 resultant_length = 7;
int32 poll_interval_ms = 8;
bool auto_calibrate = 9;
int32 response_timeout_ms = 11;
int32 tactile_rows = 12;
int32 tactile_cols = 13;
int32 response_header_bytes = 14;
string tactile_finger = 15;
string tactile_region = 16;
string sensor_name = 17;
PX6AXGen3PollingReadMode polling_read_mode = 18;
// Maximum age since the sample's request was sent. 0 uses 50 ms.
// Independent of response_timeout_ms: stale cached data must fail promptly.
int32 max_sample_age_ms = 19;
}
message ZeroSimTouchDexHand {
string id = 1;
}
2026-09-28 15:24:39 +08:00
message OYMotionAP001Config {
string id = 1;
string can_interface = 2;
uint32 hand_id = 3;
uint32 master_id = 4;
uint32 command_timeout_ms = 5;
}
2026-06-24 15:45:54 +08:00
message DexHandDeviceConfig {
string id = 1;
reserved 2;
oneof backend {
RH56DFTPDexHandConfig rh56dftp = 10;
PX6AXGen3 px_6ax_gen3 = 11;
ZeroSimTouchDexHand zero_sim_touch = 12;
2026-09-28 15:24:39 +08:00
OYMotionAP001Config oymotion_ap001 = 13;
2026-06-24 15:45:54 +08:00
}
}
message DexHandConfig{
2026-06-24 15:45:54 +08:00
repeated DexHandDeviceConfig dexhands = 1;
}
message DexHandRootConfig {
DexHandConfig dexhand = 1;
}