From 02d51414444a3761e10bcf531325601aadae9d26 Mon Sep 17 00:00:00 2001 From: linbo <1034003879@qq.com> Date: Mon, 9 Nov 2026 15:04:16 +0800 Subject: [PATCH] config(lingkong): use V2.38 on can3 and update joint position limits --- .../config/devices/motor/lingkong_motors.pb.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmvr-es/config/devices/motor/lingkong_motors.pb.txt b/cmvr-es/config/devices/motor/lingkong_motors.pb.txt index 5e8f83a6..14f0befd 100644 --- a/cmvr-es/config/devices/motor/lingkong_motors.pb.txt +++ b/cmvr-es/config/devices/motor/lingkong_motors.pb.txt @@ -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