机械臂仿真和ros_control
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
six_axis_arm:
|
||||
# 状态发布
|
||||
joint_state_controller:
|
||||
type: joint_state_controller/JointStateController
|
||||
publish_rate: 50
|
||||
|
||||
# 轨迹控制
|
||||
arm_position_controller:
|
||||
type: position_controllers/JointTrajectoryController
|
||||
type: position_controllers/JointTrajectoryController # 使用关节轨迹控制器:让机器人按照轨迹运动到目标位置
|
||||
joints:
|
||||
- joint1
|
||||
- joint2
|
||||
@@ -13,6 +15,7 @@ six_axis_arm:
|
||||
- joint5
|
||||
- joint6
|
||||
gains:
|
||||
# 每个关节的PID增益设置
|
||||
joint1: { p: 100, d: 10, i: 0.01 }
|
||||
joint2: { p: 100, d: 10, i: 0.01 }
|
||||
joint3: { p: 100, d: 10, i: 0.01 }
|
||||
|
||||
Reference in New Issue
Block a user