config: enable 209 dual arms, LiteS001 hands and mixed-protocol neck
This commit is contained in:
parent
cf6b07c677
commit
c2720956af
28
cmvr-es/config/devices/arm/neck_arm.pb.txt
Normal file
28
cmvr-es/config/devices/arm/neck_arm.pb.txt
Normal file
@ -0,0 +1,28 @@
|
||||
# Independent joint-only neck; joint order follows motor IDs 1, 2, 3.
|
||||
arm {
|
||||
robot_arms {
|
||||
id: "neck_arm"
|
||||
motor {
|
||||
motor_system_id: "neck_can_motors"
|
||||
motor_group_ids: "neck_v236"
|
||||
motor_group_ids: "neck_v238"
|
||||
dof: 3
|
||||
joint_names: "neck_joint_1"
|
||||
joint_names: "neck_joint_2"
|
||||
joint_names: "neck_joint_3"
|
||||
upd_freq: 50
|
||||
}
|
||||
motion {
|
||||
joint_trajectory_smoother {
|
||||
sample_period_s: 0.02
|
||||
quintic_bspline { control_point_spacing_rad: 0.1 }
|
||||
}
|
||||
move_j {
|
||||
settle_timeout_s: 2.0
|
||||
settle_position_tolerance_rad: 0.002
|
||||
settle_velocity_tolerance_rad_s: 0.02
|
||||
settle_stable_sample_count: 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -20,7 +20,7 @@ dexhand {
|
||||
model: "ROH-LiteS001"
|
||||
has_tactile_feedback: false
|
||||
oymotion_ap001 {
|
||||
can_interface: "can0"
|
||||
can_interface: "b5d2can0"
|
||||
hand_id: 2
|
||||
master_id: 1
|
||||
command_timeout_ms: 255
|
||||
@ -81,4 +81,15 @@ dexhand {
|
||||
has_tactile_feedback: true
|
||||
zero_sim_touch {}
|
||||
}
|
||||
dexhands {
|
||||
id: "left_hand_lites001"
|
||||
model: "ROH-LiteS001"
|
||||
has_tactile_feedback: false
|
||||
oymotion_ap001 {
|
||||
can_interface: "b5d2can1"
|
||||
hand_id: 2
|
||||
master_id: 1
|
||||
command_timeout_ms: 255
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
49
cmvr-es/config/devices/motor/neck_motors.pb.txt
Normal file
49
cmvr-es/config/devices/motor/neck_motors.pb.txt
Normal file
@ -0,0 +1,49 @@
|
||||
# Neck: CAN2, ID1 V2.36; ID2/3 V2.38. Output shaft units: rad, rad/s.
|
||||
motor {
|
||||
id: "neck_can_motors"
|
||||
motor_groups {
|
||||
id: "neck_v236"
|
||||
bus_type: MOTOR_BUS_CAN
|
||||
vendor: MOTOR_VENDOR_LINGKONG
|
||||
protocol: MOTOR_PROTOCOL_LINGKONG_CAN
|
||||
can { channel_id: 2 }
|
||||
motors {
|
||||
motors {
|
||||
id: 1
|
||||
joint_name: "neck_joint_1"
|
||||
gear_ratio: 10
|
||||
limit_q_lb: -3.14
|
||||
limit_q_ub: 3.14
|
||||
limit_qd: 10
|
||||
lingkong { response_timeout_ms: 100 reached_position_tolerance_rad: 0.001 }
|
||||
}
|
||||
}
|
||||
}
|
||||
motor_groups {
|
||||
id: "neck_v238"
|
||||
bus_type: MOTOR_BUS_CAN
|
||||
vendor: MOTOR_VENDOR_LINGKONG
|
||||
protocol: MOTOR_PROTOCOL_LINGKONG_CAN_V2_38
|
||||
can { channel_id: 2 }
|
||||
motors {
|
||||
motors {
|
||||
id: 2
|
||||
joint_name: "neck_joint_2"
|
||||
gear_ratio: 10
|
||||
limit_q_lb: -3.14
|
||||
limit_q_ub: 3.14
|
||||
limit_qd: 10
|
||||
lingkong { response_timeout_ms: 100 reached_position_tolerance_rad: 0.001 }
|
||||
}
|
||||
motors {
|
||||
id: 3
|
||||
joint_name: "neck_joint_3"
|
||||
gear_ratio: 10
|
||||
limit_q_lb: -3.14
|
||||
limit_q_ub: 3.14
|
||||
limit_qd: 10
|
||||
lingkong { response_timeout_ms: 100 reached_position_tolerance_rad: 0.001 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -263,18 +263,42 @@ device_manager {
|
||||
id: "tchl_dual_arm_motors"
|
||||
type: DEVICE_TYPE_MOTOR_SYSTEM
|
||||
config_file: "devices/motor/tchl_dual_arm_motors.pb.txt"
|
||||
enable: false
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "right_tchl_arm"
|
||||
type: DEVICE_TYPE_ROBOT_ARM
|
||||
config_file: "devices/arm/tchl_dual_arm.pb.txt"
|
||||
enable: false
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "left_tchl_arm"
|
||||
type: DEVICE_TYPE_ROBOT_ARM
|
||||
config_file: "devices/arm/tchl_dual_arm.pb.txt"
|
||||
enable: false
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "right_hand_lites001"
|
||||
type: DEVICE_TYPE_DEXHAND
|
||||
config_file: "devices/dexhand/dexhand.pb.txt"
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "left_hand_lites001"
|
||||
type: DEVICE_TYPE_DEXHAND
|
||||
config_file: "devices/dexhand/dexhand.pb.txt"
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "neck_can_motors"
|
||||
type: DEVICE_TYPE_MOTOR_SYSTEM
|
||||
config_file: "devices/motor/neck_motors.pb.txt"
|
||||
enable: true
|
||||
}
|
||||
devices {
|
||||
id: "neck_arm"
|
||||
type: DEVICE_TYPE_ROBOT_ARM
|
||||
config_file: "devices/arm/neck_arm.pb.txt"
|
||||
enable: true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user