Skip to content

Commit f30f0e6

Browse files
authored
Add scaling parameters to upstream JTC (#1465)
Since the upstream JTC supports scaling by know, we can start adding the state interface to the controller.
1 parent c286e77 commit f30f0e6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

ur_robot_driver/config/ur_controllers.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,17 @@ joint_trajectory_controller:
9797
constraints:
9898
stopped_velocity_tolerance: 0.2
9999
goal_time: 0.0
100-
$(var tf_prefix)shoulder_pan_joint: { trajectory: 0.2, goal: 0.1 }
101-
$(var tf_prefix)shoulder_lift_joint: { trajectory: 0.2, goal: 0.1 }
102-
$(var tf_prefix)elbow_joint: { trajectory: 0.2, goal: 0.1 }
103-
$(var tf_prefix)wrist_1_joint: { trajectory: 0.2, goal: 0.1 }
104-
$(var tf_prefix)wrist_2_joint: { trajectory: 0.2, goal: 0.1 }
105-
$(var tf_prefix)wrist_3_joint: { trajectory: 0.2, goal: 0.1 }
100+
$(var tf_prefix)shoulder_pan_joint: {trajectory: 0.2, goal: 0.1}
101+
$(var tf_prefix)shoulder_lift_joint: {trajectory: 0.2, goal: 0.1}
102+
$(var tf_prefix)elbow_joint: {trajectory: 0.2, goal: 0.1}
103+
$(var tf_prefix)wrist_1_joint: {trajectory: 0.2, goal: 0.1}
104+
$(var tf_prefix)wrist_2_joint: {trajectory: 0.2, goal: 0.1}
105+
$(var tf_prefix)wrist_3_joint: {trajectory: 0.2, goal: 0.1}
106+
speed_scaling:
107+
state_interface: $(var tf_prefix)speed_scaling/speed_scaling_factor
108+
# Setting the command interface currently would clash with the io_and_status_controller
109+
# This will probably be changed in the future.
110+
# command_interface: $(var tf_prefix)speed_scaling/target_speed_fraction_cmd
106111

107112

108113
scaled_joint_trajectory_controller:

0 commit comments

Comments
 (0)