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
This parameter controls how long MoveIt will wait for responses from controller manager services like list_controllers and switch_controller. On resource-constrained systems or congested networks, controller discovery and switching operations can take longer than the default timeout. Increasing this parameter in your configuration can prevent these timeout issues.
63
+
64
+
**ros_control_namespace** (string, default: "/")
65
+
Namespace of the ros_control node.
66
+
67
+
.. code-block:: yaml
68
+
69
+
# In your moveit_controllers.yaml configuration
70
+
ros_control_namespace: /my_robot
71
+
controller_service_call_timeout: 5.0# Increase timeout to 5 seconds
72
+
73
+
56
74
Debugging Information
57
75
---------------------
58
76
@@ -106,13 +124,15 @@ If you do not have a physical robot, :code:`ros2_control` makes it very easy to
106
124
Controller Switching and Namespaces
107
125
-----------------------------------
108
126
109
-
(TODO: update for ROS2)
110
-
111
127
All controller names get prefixed by the namespace of their ros_control node. For this reason controller names should not contain slashes, and can't be named ``/``. For a particular node MoveIt can decide which controllers to have started or stopped. Since only controller names with registered allocator plugins are handled over MoveIt, MoveIt takes care of stopping controllers based on their claimed resources if a to-be-started controller needs any of those resources.
112
128
129
+
When working with controller switching through the ROS Control interface managers, you can configure the timeout for controller manager service calls using the :code:`controller_service_call_timeout` parameter (default: 3.0 seconds). This is particularly useful in complex setups where controller switching might take longer than the default timeout.
130
+
113
131
Controllers for Multiple Nodes
114
132
------------------------------
115
133
116
134
There is a variation on the Ros2ControlManager, the Ros2ControlMultiManager. Ros2ControlMultiManager can be used for more than one ros_control nodes. It works by creating several Ros2ControlManagers, one for each node. It instantiates them with their respective namespace and takes care of proper delegation. To use it must be added to the launch file. ::
The :code:`controller_service_call_timeout` parameter can also be set with the Ros2ControlMultiManager and will be used by all discovered controller managers.
0 commit comments