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
Enables the use of simulation time in the ``controller_manager`` node.
388
388
389
+
overruns.manage (optional; bool; default: true)
390
+
Enables or disables the handling of overruns in the real-time loop of the ``controller_manager`` node.
391
+
If set to true, the controller manager will detect overruns caused by system time changes or longer execution times of the controllers and hardware components.
392
+
If an overrun is detected, the controller manager will print a warning message to the console.
393
+
When used with ``use_sim_time`` set to true, this parameter is ignored and the overrun handling is disabled.
Copy file name to clipboardExpand all lines: controller_manager/src/controller_manager_parameters.yaml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -234,3 +234,8 @@ controller_manager:
234
234
gt<>: 0.0,
235
235
}
236
236
}
237
+
overruns:
238
+
print_warnings: {
239
+
type: bool,
240
+
description: "If true, the controller manager will print a warning message to the console if an overrun is detected in its real-time loop (``read``, ``update`` and ``write``). By default, it is set to true, except when used with ``use_sim_time`` parameter set to true.",
Copy file name to clipboardExpand all lines: doc/release_notes.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ controller_manager
96
96
* The default strictness of the ``switch_controllers`` can now we be chosen using ROS 2 parameters. The default behaviour is still left to ``BEST_EFFORT`` (`#2168 <https://github.com/ros-controls/ros2_control/pull/2168>`_).
97
97
* Parameter ``shutdown_on_initial_state_failure`` was added to avoid shutting down on hardware initial state failure (`#2230 <https://github.com/ros-controls/ros2_control/pull/2230>`_).
98
98
* The controller manager now publishes ``~/statistics/names`` and ``~/statistics/values`` topics to introspect the execution time and periodicity of the different entities running in the realtime loop (`#2449 <https://github.com/ros-controls/ros2_control/pull/2449>`_).
99
+
* New parameters ``overruns.manage`` and ``overruns.print_warnings`` were added to control the behavior of the controller manager/ros2_control_node when overruns occur (`#2546 <https://github.com/ros-controls/ros2_control/pull/2546/files>`_).
0 commit comments