controller_manager_msgs¶
Contents:
Summary¶
-
controller_manager_msgs
¶ Version: 0.9.3
Description: Messages and services for the controller manager.
Maintainers: - Adolfo Rodriguez Tsouroukdissian <adolfo DOT rodriguez AT pal-robotics DOT com>
Licenses: - BSD
Urls: Authors: - Wim Meeussen
BuildDepends: BuildtoolDepends: BuildExportDepends: ExecDepends:
Types¶
Service types¶
controller_manager_msgs/LoadController
controller_manager_msgs/ListControllers
controller_manager_msgs/SwitchController
controller_manager_msgs/UnloadController
controller_manager_msgs/ReloadControllerLibraries
controller_manager_msgs/ListControllerTypes
-
controller_manager_msgs/LoadController
¶ Field (Request): - name (string) –
Field (Response): - ok (bool) –
The LoadController service allows you to load a single controller inside controller_manager
To load a controller, specify the “name” of the controller. The return value “ok” indicates if the controller was successfully constructed and initialized or not.
# The LoadController service allows you to load a single controller # inside controller_manager # To load a controller, specify the "name" of the controller. # The return value "ok" indicates if the controller was successfully # constructed and initialized or not. string name --- bool ok
-
controller_manager_msgs/ListControllers
¶ Field (Response): - controller[] (controller_manager_msgs/ControllerState) –
The ListControllers service returns a list of controller names/states/types of the controllers that are loaded inside the controller_manager.
# The ListControllers service returns a list of controller names/states/types of the # controllers that are loaded inside the controller_manager. --- ControllerState[] controller
-
controller_manager_msgs/SwitchController
¶ Field (Request): - start_controllers[] (string) –
- stop_controllers[] (string) –
- strictness (int32) –
Constant (Request): - BEST_EFFORT (int32):
1
– - STRICT (int32):
2
–
Field (Response): - ok (bool) –
The SwitchController service allows you stop a number of controllers and start a number of controllers, all in one single timestep of the controller_manager control loop.
- To switch controllers, specify
the list of controller names to start,
the list of controller names to stop, and
the strictness (BEST_EFFORT or STRICT) * STRICT means that switching will fail if anything goes wrong (an invalid
controller name, a controller that failed to start, etc. )
- BEST_EFFORT means that even when something goes wrong with on controller, the service will still try to start/stop the remaining controllers
The return value “ok” indicates if the controllers were switched successfully or not. The meaning of success depends on the specified strictness.
# The SwitchController service allows you stop a number of controllers # and start a number of controllers, all in one single timestep of the # controller_manager control loop. # To switch controllers, specify # * the list of controller names to start, # * the list of controller names to stop, and # * the strictness (BEST_EFFORT or STRICT) # * STRICT means that switching will fail if anything goes wrong (an invalid # controller name, a controller that failed to start, etc. ) # * BEST_EFFORT means that even when something goes wrong with on controller, # the service will still try to start/stop the remaining controllers # The return value "ok" indicates if the controllers were switched # successfully or not. The meaning of success depends on the # specified strictness. string[] start_controllers string[] stop_controllers int32 strictness int32 BEST_EFFORT=1 int32 STRICT=2 --- bool ok
-
controller_manager_msgs/UnloadController
¶ Field (Request): - name (string) –
Field (Response): - ok (bool) –
The UnloadController service allows you to unload a single controller from controller_manager
To unload a controller, specify the “name” of the controller. The return value “ok” indicates if the controller was successfully unloaded or not
# The UnloadController service allows you to unload a single controller # from controller_manager # To unload a controller, specify the "name" of the controller. # The return value "ok" indicates if the controller was successfully # unloaded or not string name --- bool ok
-
controller_manager_msgs/ReloadControllerLibraries
¶ Field (Request): - force_kill (bool) –
Field (Response): - ok (bool) –
The ReloadControllerLibraries service will reload all controllers that are available in the system as plugins
Reloading libraries only works if there are no controllers loaded. If there are still some controllers loaded, the reloading will fail. If this bool is set to true, all loaded controllers will get killed automatically, and the reloading can succeed.
# The ReloadControllerLibraries service will reload all controllers that are available in # the system as plugins # Reloading libraries only works if there are no controllers loaded. If there # are still some controllers loaded, the reloading will fail. # If this bool is set to true, all loaded controllers will get # killed automatically, and the reloading can succeed. bool force_kill --- bool ok
-
controller_manager_msgs/ListControllerTypes
¶ Field (Response): - types[] (string) –
- base_classes[] (string) –
The ListControllers service returns a list of controller types that are known to the controller manager plugin mechanism.
# The ListControllers service returns a list of controller types that are known # to the controller manager plugin mechanism. --- string[] types string[] base_classes