How do I disable execution_duration_monitoring ?
I'm using the fanuc package for ROS-Industrial and when launching the moveit_planning_execution.launch I get the following error:
[ERROR] [1415027195.809289492]: Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 4.992567 seconds). Stopping trajectory.
The error is explained here. What I understand is that I have to add a line in one of the launch file, something like:
<param name="execution_duration_monitoring" value="false"/>
I tried 2 things without success:
trajectory_execution.launch.xml
<!-- When determining the expected duration of a trajectory, this multiplicative factor is applied to get the allowed duration of execution -->
<param name="allowed_execution_duration_scaling" value="1.2"/> <!-- default 1.2 -->
<!-- Allow more than the expected execution time before triggering a trajectory cancel (applied after scaling) -->
<param name="allowed_goal_duration_margin" value="0.5"/> <!-- default 0.5 -->
<param name="execution_duration_monitoring" value="false"/>
<!-- Start the actual move_group node/action server -->
<node name="move_group" launch-prefix="$(arg launch_prefix)" pkg="moveit_ros_move_group" type="move_group" respawn="false" output="screen" args="$(arg command_args)">
<!-- Set the display variable, in case OpenGL code is used internally -->
<env name="DISPLAY" value="$(optenv DISPLAY :0)" />
<param name="allow_trajectory_execution" value="$(arg allow_trajectory_execution)"/>
<param name="max_safe_path_cost" value="$(arg max_safe_path_cost)"/>
<param name="jiggle_fraction" value="$(arg jiggle_fraction)" />
<param name="execution_duration_monitoring" value="false" />
What am I doing wrong?