You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ur_controllers/README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ robot family. Currently this contains
6
6
* A **speed_scaling_interface** to read the value of the current speed scaling into controllers.
7
7
* A **scaled_joint_command_interface** that provides access to joint values and commands in
8
8
combination with the speed scaling value.
9
-
* A **speed_scaling_state_controller** that publishes the current value of the speed scaling
10
-
to a topic interface.
9
+
* A **speed_scaling_state_controller** that publishes the current execution speed as reported by
10
+
the robot to a topic interface. Values are floating points between 0 and 1.
11
11
* A **scaled_joint_trajectory_controller** that is similar to the *joint_trajectory_controller*,
12
12
but it uses the speed scaling reported by the robot to reduce progress in the trajectory.
13
13
@@ -21,10 +21,13 @@ into the default `ros_control` controller set at some future point.
21
21
This packages offers a couple of specific controllers that will be explained in the following
22
22
sections.
23
23
### ur_controllers/SpeedScalingStateController
24
-
This controller publishes the current actual execution speed as reported by the robot.
25
-
This is the percentage of the speed slider multiplied with the `target_speed_fraction` that results
26
-
from the robot's speed scaling getting active.
24
+
This controller publishes the current actual execution speed as reported by the robot. Values are
25
+
floating points between 0 and 1.
27
26
27
+
In the [`ur_robot_driver`](../ur_robot_driver) this is calculated by multiplying the two [RTDE](https://www.universal-robots.com/articles/ur/real-time-data-exchange-rtde-guide/) data
28
+
fields `speed_scaling` (which should be equal to the value shown by the speed slider position on the
29
+
teach pendant) and `target_speed_fraction` (Which is the fraction to which execution gets slowed
30
+
down by the controller).
28
31
### position_controllers/ScaledJointTrajectoryController and velocity_controllers/ScaledJointTrajectoryController
0 commit comments