From b977e55dbaadd3ede296d1a92043542c0a64d0d6 Mon Sep 17 00:00:00 2001 From: "Dr. Denis" Date: Tue, 12 Dec 2023 10:03:19 +0100 Subject: [PATCH] Resolve conflicts. --- controller_manager/controller_manager/__init__.py | 14 +------------- .../controller_manager_services.py | 11 ----------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/controller_manager/controller_manager/__init__.py b/controller_manager/controller_manager/__init__.py index 58a0ca2867..849dee7fc0 100644 --- a/controller_manager/controller_manager/__init__.py +++ b/controller_manager/controller_manager/__init__.py @@ -26,7 +26,6 @@ ) __all__ = [ -<<<<<<< HEAD 'configure_controller', 'list_controller_types', 'list_controllers', @@ -34,18 +33,7 @@ 'list_hardware_interfaces', 'load_controller', 'reload_controller_libraries', + 'set_hardware_component_state', 'switch_controllers', 'unload_controller', -======= - "configure_controller", - "list_controller_types", - "list_controllers", - "list_hardware_components", - "list_hardware_interfaces", - "load_controller", - "reload_controller_libraries", - "set_hardware_component_state", - "switch_controllers", - "unload_controller", ->>>>>>> 937817c (add spawner for hardware (#941)) ] diff --git a/controller_manager/controller_manager/controller_manager_services.py b/controller_manager/controller_manager/controller_manager_services.py index 5e22df13f3..9c560e2cce 100644 --- a/controller_manager/controller_manager/controller_manager_services.py +++ b/controller_manager/controller_manager/controller_manager_services.py @@ -12,11 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -<<<<<<< HEAD -from controller_manager_msgs.srv import ConfigureController, \ - ListControllers, ListControllerTypes, ListHardwareComponents, ListHardwareInterfaces, \ - LoadController, ReloadControllerLibraries, SwitchController, UnloadController -======= from controller_manager_msgs.srv import ( ConfigureController, ListControllers, @@ -29,7 +24,6 @@ SwitchController, UnloadController, ) ->>>>>>> 937817c (add spawner for hardware (#941)) import rclpy @@ -99,10 +93,6 @@ def reload_controller_libraries(node, controller_manager_name, force_kill): ReloadControllerLibraries, request) -<<<<<<< HEAD -def switch_controllers(node, controller_manager_name, deactivate_controllers, - activate_controllers, strict, activate_asap, timeout): -======= def set_hardware_component_state(node, controller_manager_name, component_name, lifecyle_state): request = SetHardwareComponentState.Request() request.name = component_name @@ -124,7 +114,6 @@ def switch_controllers( activate_asap, timeout, ): ->>>>>>> 937817c (add spawner for hardware (#941)) request = SwitchController.Request() request.activate_controllers = activate_controllers request.deactivate_controllers = deactivate_controllers