Skip to content

Commit 9e3e166

Browse files
author
Felix Exner
committed
Add note about disabling TEM in docs
1 parent 61d5195 commit 9e3e166

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

ur_moveit_config/launch/ur_moveit.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def launch_setup(context, *args, **kwargs):
188188
"trajectory_execution.allowed_execution_duration_scaling": 1.2,
189189
"trajectory_execution.allowed_goal_duration_margin": 0.5,
190190
"trajectory_execution.allowed_start_tolerance": 0.01,
191-
# Execution time monitoring doesn't make sense with the scaled JTC
191+
# Execution time monitoring can be incompatible with the scaled JTC
192192
"trajectory_execution.execution_duration_monitoring": False,
193193
}
194194

ur_robot_driver/doc/usage.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,21 @@ To test the driver with the example MoveIt-setup, first start the driver as desc
191191
Now you should be able to use the MoveIt Plugin in rviz2 to plan and execute trajectories with the
192192
robot as explained `here <https://moveit.picknik.ai/main/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.html>`_.
193193

194+
.. note::
195+
Usually, MoveIt uses trajectory execution monitoring (TEM). If executing a trajectory takes too long,
196+
e.g. because the action server died or the robot is blocked, this will lead to an error in
197+
trajectory execution. However, this isn't necessarily compatible with the scaled joint
198+
trajectory controller (as long as TEM is not aware of the scaling), as execution time can
199+
be unbounded on purpose. Hence, TEM is disabled in the example MoveIt configuration:
200+
201+
.. literalinclude:: ../../ur_moveit_config/launch/ur_moveit.launch.py
202+
:language: python
203+
:start-at: trajectory_execution =
204+
:end-at: execution_duration_monitoring": False
205+
:append: }
206+
:dedent: 4
207+
:caption: ur_moveit_config/launch/ur_moveit.launch.py
208+
194209
Fake hardware on ROS2 Galactic
195210
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
196211

0 commit comments

Comments
 (0)