Skip to content

Commit 3eb56fa

Browse files
author
Felix Exner
committed
Clarified where the speed_scaling value comes from.
1 parent 80c3a10 commit 3eb56fa

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

ur_controllers/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ robot family. Currently this contains
66
* A **speed_scaling_interface** to read the value of the current speed scaling into controllers.
77
* A **scaled_joint_command_interface** that provides access to joint values and commands in
88
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.
1111
* A **scaled_joint_trajectory_controller** that is similar to the *joint_trajectory_controller*,
1212
but it uses the speed scaling reported by the robot to reduce progress in the trajectory.
1313

@@ -21,10 +21,13 @@ into the default `ros_control` controller set at some future point.
2121
This packages offers a couple of specific controllers that will be explained in the following
2222
sections.
2323
### 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.
2726

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).
2831
### position_controllers/ScaledJointTrajectoryController and velocity_controllers/ScaledJointTrajectoryController
2932
These controllers work similar to the well-known
3033
[`joint_trajectory_controller`](http://wiki.ros.org/joint_trajectory_controller).

0 commit comments

Comments
 (0)