Skip to content

Commit c5c8777

Browse files
authored
Merge branch 'master' into wip/CM/statistics
2 parents 42c8b65 + f353d1b commit c5c8777

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

controller_manager_msgs/srv/SwitchController.srv

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@
55
# To switch controllers, specify
66
# * the list of controller names to activate,
77
# * the list of controller names to deactivate, and
8-
# * the strictness (BEST_EFFORT or STRICT)
8+
# * the strictness (STRICT, BEST_EFFORT, AUTO, or FORCE_AUTO)
99
# * STRICT means that switching will fail if anything goes wrong (an invalid
10-
# controller name, a controller that failed to activate, etc. )
11-
# * BEST_EFFORT means that even when something goes wrong with one controller,
12-
# the service will still try to activate/deactivate the remaining controllers
10+
# controller name, a controller that failed to activate, etc.).
11+
# * BEST_EFFORT:
12+
# Transitions are only triggered if the controller is not yet in the target state.
13+
# If it is already in the target state, no error occurs.
14+
# Returns 'false' if all controllers of 'activate_controllers' or 'deactivate_controllers' are not yet loaded or configured,
15+
# or the pending transitions of all existing controllers of 'activate_controllers'
16+
# or 'deactivate_controllers' fail.
17+
# Returns 'true' otherwise.
1318
# * AUTO means that the controller manager will automatically resolve the controller
1419
# chain in order to activate and/or deactivate the specified controllers.
1520
# This is useful in complex systems when you want all dependent controllers to start
@@ -28,9 +33,9 @@
2833
# * the timeout before aborting pending controllers. Zero for infinite
2934

3035
# The return value "ok" indicates if the controllers were switched
31-
# successfully or not. The meaning of success depends on the
36+
# successfully or not. The meaning of success depends on the
3237
# specified strictness.
33-
# The return value "message" provides some human-readable information
38+
# The return value "message" provides some human-readable information.
3439

3540

3641
string[] activate_controllers

0 commit comments

Comments
 (0)