fix : fix motor init vel set

This commit is contained in:
lgv 2026-06-25 09:09:12 +08:00
parent 9deb6c5383
commit 693fa0ab76
2 changed files with 12 additions and 6 deletions

View File

@ -29,9 +29,15 @@ motor {
channel_id: 1
}
joint_limits {
source: JOINT_LIMIT_SOURCE_URDF
source: JOINT_LIMIT_SOURCE_CUSTOM
joints { joint_name: "R_SHOULDER_P" lower: -3.14 upper: 3.14 velocity: 5.0 }
joints { joint_name: "R_SHOULDER_R" lower: -0.78 upper: 1.57 velocity: 5.0 }
joints { joint_name: "R_SHOULDER_Y" lower: -3.14 upper: 3.14 velocity: 5.0 }
joints { joint_name: "R_ELBOW_R" lower: 0 upper: 2.05 velocity: 5.0 }
joints { joint_name: "R_WRIST_P" lower: -3.14 upper: 3.14 velocity: 5.0 }
joints { joint_name: "R_WRIST_Y" lower: -0.78 upper: 0.78 velocity: 5.0 }
joints { joint_name: "R_WRIST_R" lower: -0.57 upper: 1.57 velocity: 5.0 }
}
joint_limits_urdf_path: "model/xiaoyan_description/dual_arm.urdf"
motors { id: 16 joint_name: "R_SHOULDER_P" }
motors { id: 17 joint_name: "R_SHOULDER_R" }
motors { id: 18 joint_name: "R_SHOULDER_Y" }

View File

@ -21,7 +21,7 @@ device_manager {
id: "paxini_tip_1"
type: DEVICE_TYPE_DEXHAND
config_file: "devices/dexhand/dexhand.pb.txt"
enable: true
enable: false
}
devices {
@ -42,20 +42,20 @@ device_manager {
id: "aubo_arm"
type: DEVICE_TYPE_ROBOT_ARM
config_file: "devices/arm/aubo_arm.pb.txt"
enable: true
enable: false
}
devices {
id: "bio_head"
type: DEVICE_TYPE_BIO_HEAD_ROBOT
config_file: "devices/biohead/bio_head.pb.txt"
enable: true
enable: false
}
devices {
id: "agv_1"
type: DEVICE_TYPE_AGV
config_file: "devices/agv/agv.pb.txt"
enable: true
enable: false
}
}