config(lingkong): use V2.38 on can3 and update joint position limits

This commit is contained in:
linbo 2026-11-09 15:04:16 +08:00
parent 021ccfb085
commit 02d5141444

View File

@ -1,4 +1,4 @@
# Three Lingkong motors on can0, CAN node IDs 1/2/3.
# Three Lingkong motors on can3, CAN node IDs 1/2/3.
# All public q/qd values refer to OUTPUT shaft radians/radians per second.
# SOFTWARE limits retained from the previous single-motor installation.
motor {
@ -7,15 +7,15 @@ motor {
id: "lingkong_can_motors"
bus_type: MOTOR_BUS_CAN
vendor: MOTOR_VENDOR_LINGKONG
protocol: MOTOR_PROTOCOL_LINGKONG_CAN
can { channel_id: 0 }
protocol: MOTOR_PROTOCOL_LINGKONG_CAN_V2_38
can { channel_id: 3 }
motors {
motors {
id: 1
joint_name: "MG4005E_AXIS_1"
gear_ratio: 10
limit_q_lb: -3.14
limit_q_ub: 3.14
limit_q_lb: -1.06
limit_q_ub: 0.75
limit_qd: 10
lingkong {
current_amp_per_lsb: 0.01611328125 # MG: 66/4096 A/LSB
@ -28,8 +28,8 @@ motor {
id: 2
joint_name: "MG4005E_AXIS_2"
gear_ratio: 10
limit_q_lb: -3.14
limit_q_ub: 3.14
limit_q_lb: -0.72
limit_q_ub: 0.75
limit_qd: 10
lingkong {
current_amp_per_lsb: 0.01611328125 # MG: 66/4096 A/LSB