Skip to content

Commit 2139e1d

Browse files
added controller and changed rviz file name
1 parent 961b712 commit 2139e1d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

my_robot_cell/my_robot_cell_control/config/ros2_controllers.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ controller_manager:
2424
ur_configuration_controller:
2525
type: ur_controllers/URConfigurationController
2626

27+
joint_trajectory_controller:
28+
type: joint_trajectory_controller/JointTrajectoryController
29+
2730
ur_configuration_controller:
2831
ros__parameters:
2932
tf_prefix: "ur20_"
@@ -98,3 +101,30 @@ forward_position_controller:
98101
- ur20_wrist_1_joint
99102
- ur20_wrist_2_joint
100103
- ur20_wrist_3_joint
104+
105+
joint_trajectory_controller:
106+
ros__parameters:
107+
joints:
108+
- ur20_shoulder_pan_joint
109+
- ur20_shoulder_lift_joint
110+
- ur20_elbow_joint
111+
- ur20_wrist_1_joint
112+
- ur20_wrist_2_joint
113+
- ur20_wrist_3_joint
114+
command_interfaces:
115+
- position
116+
state_interfaces:
117+
- position
118+
- velocity
119+
state_publish_rate: 100.0
120+
action_monitor_rate: 20.0
121+
allow_partial_joints_goal: false
122+
constraints:
123+
stopped_velocity_tolerance: 0.2
124+
goal_time: 0.0
125+
ur20_shoulder_pan_joint: { trajectory: 0.2, goal: 0.1 }
126+
ur20_shoulder_lift_joint: { trajectory: 0.2, goal: 0.1 }
127+
ur20_elbow_joint: { trajectory: 0.2, goal: 0.1 }
128+
ur20_wrist_1_joint: { trajectory: 0.2, goal: 0.1 }
129+
ur20_wrist_2_joint: { trajectory: 0.2, goal: 0.1 }
130+
ur20_wrist_3_joint: { trajectory: 0.2, goal: 0.1 }
File renamed without changes.

0 commit comments

Comments
 (0)