trajectory_execution.launch.xml 1.6 KB

1234567891011121314151617181920212223
  1. <launch>
  2. <!-- This file summarizes all settings required for trajectory execution -->
  3. <!-- Define moveit controller manager plugin: fake, simple, or ros_control -->
  4. <arg name="moveit_controller_manager" />
  5. <arg name="fake_execution_type" default="interpolate" />
  6. <!-- Flag indicating whether MoveIt is allowed to load/unload or switch controllers -->
  7. <arg name="moveit_manage_controllers" default="true"/>
  8. <param name="moveit_manage_controllers" value="$(arg moveit_manage_controllers)"/>
  9. <!-- When determining the expected duration of a trajectory, this multiplicative factor is applied to get the allowed duration of execution -->
  10. <param name="trajectory_execution/allowed_execution_duration_scaling" value="1.2"/> <!-- default 1.2 -->
  11. <!-- Allow more than the expected execution time before triggering a trajectory cancel (applied after scaling) -->
  12. <param name="trajectory_execution/allowed_goal_duration_margin" value="0.5"/> <!-- default 0.5 -->
  13. <!-- Allowed joint-value tolerance for validation that trajectory's first point matches current robot state -->
  14. <param name="trajectory_execution/allowed_start_tolerance" value="0.01"/> <!-- default 0.01 -->
  15. <!-- We use pass_all_args=true here to pass fake_execution_type, which is required by fake controllers, but not by real-robot controllers.
  16. As real-robot controller_manager.launch files shouldn't be required to define this argument, we use the trick of passing all args. -->
  17. <include file="$(dirname)/$(arg moveit_controller_manager)_moveit_controller_manager.launch.xml" pass_all_args="true" />
  18. </launch>