From 7b079631891448edb864384408c10abc74f91345 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:33:17 +0200 Subject: [PATCH] fix: call configure_controller on 'unconfigured' state instead load_controller (#1794) (#1797) (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 3b4a9a7de1..0044649b6f 100644 --- a/rqt_controller_manager/rqt_controller_manager/controller_manager.py +++ b/rqt_controller_manager/rqt_controller_manager/controller_manager.py @@ -261,7 +261,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