100 lines
3.9 KiB
Plaintext
100 lines
3.9 KiB
Plaintext
motor {
|
|
id: "ti5_motors"
|
|
|
|
motor_groups {
|
|
id: "left_arm_can_motors"
|
|
bus_type: MOTOR_BUS_CAN
|
|
vendor: MOTOR_VENDOR_TI5
|
|
protocol: MOTOR_PROTOCOL_CANOPEN
|
|
can {
|
|
channel_id: 0
|
|
}
|
|
joint_limits {
|
|
enable: true
|
|
source: JOINT_LIMIT_SOURCE_URDF
|
|
urdf_path: "model/xiaoyan_description/dual_arm.urdf"
|
|
}
|
|
motors {
|
|
motors { id: 23 joint_name: "L_SHOULDER_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 24 joint_name: "L_SHOULDER_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 25 joint_name: "L_SHOULDER_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 26 joint_name: "L_ELBOW_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 27 joint_name: "L_WRIST_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 28 joint_name: "L_WRIST_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 29 joint_name: "L_WRIST_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
}
|
|
}
|
|
|
|
motor_groups {
|
|
id: "right_arm_can_motors"
|
|
bus_type: MOTOR_BUS_CAN
|
|
vendor: MOTOR_VENDOR_TI5
|
|
protocol: MOTOR_PROTOCOL_CANOPEN
|
|
can {
|
|
channel_id: 1
|
|
}
|
|
joint_limits {
|
|
enable: true
|
|
source: JOINT_LIMIT_SOURCE_CUSTOM
|
|
joints { joint_name: "R_SHOULDER_P" q_lb: -3.14 q_ub: 3.14 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_SHOULDER_R" q_lb: -0.78 q_ub: 1.57 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_SHOULDER_Y" q_lb: -3.14 q_ub: 3.14 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_ELBOW_R" q_lb: 0 q_ub: 2.05 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_WRIST_P" q_lb: -3.14 q_ub: 3.14 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_WRIST_Y" q_lb: -0.78 q_ub: 0.78 qd: 5.0 qdd: 10.0 }
|
|
joints { joint_name: "R_WRIST_R" q_lb: -0.57 q_ub: 1.57 qd: 5.0 qdd: 10.0 }
|
|
}
|
|
motors {
|
|
motors { id: 16 joint_name: "R_SHOULDER_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 17 joint_name: "R_SHOULDER_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 18 joint_name: "R_SHOULDER_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 19 joint_name: "R_ELBOW_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 20 joint_name: "R_WRIST_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 21 joint_name: "R_WRIST_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 22 joint_name: "R_WRIST_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
}
|
|
}
|
|
|
|
motor_groups {
|
|
id: "head_can_motors"
|
|
bus_type: MOTOR_BUS_CAN
|
|
vendor: MOTOR_VENDOR_TI5
|
|
protocol: MOTOR_PROTOCOL_CANOPEN
|
|
can {
|
|
channel_id: 2
|
|
}
|
|
joint_limits {
|
|
enable: true
|
|
source: JOINT_LIMIT_SOURCE_CUSTOM
|
|
joints { joint_name: "HEAD_Y" q_lb: -3.14 q_ub: 3.14 qd: 3.0 }
|
|
joints { joint_name: "HEAD_P" q_lb: -3.14 q_ub: 3.14 qd: 3.0 }
|
|
joints { joint_name: "HEAD_R" q_lb: -3.14 q_ub: 3.14 qd: 3.0 }
|
|
}
|
|
motors {
|
|
motors { id: 32 joint_name: "HEAD_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 30 joint_name: "HEAD_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 31 joint_name: "HEAD_R" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
}
|
|
}
|
|
|
|
motor_groups {
|
|
id: "waist_can_motors"
|
|
bus_type: MOTOR_BUS_CAN
|
|
vendor: MOTOR_VENDOR_TI5
|
|
protocol: MOTOR_PROTOCOL_CANOPEN
|
|
can {
|
|
channel_id: 3
|
|
}
|
|
joint_limits {
|
|
enable: true
|
|
source: JOINT_LIMIT_SOURCE_CUSTOM
|
|
joints { joint_name: "WAIST_Y" q_lb: -3.14 q_ub: 3.14 qd: 3.0 }
|
|
joints { joint_name: "WAIST_P" q_lb: -3.14 q_ub: 3.14 qd: 3.0 }
|
|
}
|
|
motors {
|
|
motors { id: 4 joint_name: "WAIST_Y" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
motors { id: 15 joint_name: "WAIST_P" encoder_counts_per_rev: 65536 gear_ratio: 101.0 }
|
|
}
|
|
}
|
|
}
|