From 1a1ce2f3b89c208b90a511ed5dcd3163872317e7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:33:30 +0200 Subject: [PATCH] fix: call configure_controller on 'unconfigured' state instead load_controller (#1794) (#1798) (cherry picked from commit 0ba1428654cbbc69050f8d58eefc39c56b098cb6) Co-authored-by: Santosh Govindaraj <75157452+SantoshGovindaraj@users.noreply.github.com> --- .../rqt_controller_manager/controller_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rqt_controller_manager/rqt_controller_manager/controller_manager.py b/rqt_controller_manager/rqt_controller_manager/controller_manager.py index 1b20fa549d..c77702c011 100644 --- a/rqt_controller_manager/rqt_controller_manager/controller_manager.py +++ b/rqt_controller_manager/rqt_controller_manager/controller_manager.py @@ -260,7 +260,7 @@ def _on_ctrl_menu(self, pos): if action is action_configure: configure_controller(self._node, self._cm_name, ctrl.name) elif action is action_spawn: - load_controller(self._node, self._cm_name, ctrl.name) + configure_controller(self._node, self._cm_name, ctrl.name) self._activate_controller(ctrl.name) else: # Assume controller isn't loaded