From 590d1a73d0acc090472a0a8f1591d349184478f4 Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Sun, 27 Oct 2024 21:39:52 +0100 Subject: [PATCH] Update the documentation of the spawner for parsing `--param-file` multiple times --- controller_manager/controller_manager/spawner.py | 4 +++- controller_manager/doc/userdoc.rst | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/controller_manager/controller_manager/spawner.py b/controller_manager/controller_manager/spawner.py index ed299d1f40..c47c160a09 100644 --- a/controller_manager/controller_manager/spawner.py +++ b/controller_manager/controller_manager/spawner.py @@ -79,7 +79,9 @@ def main(args=None): parser.add_argument( "-p", "--param-file", - help="Controller param file to be loaded into controller node before configure", + help="Controller param file to be loaded into controller node before configure. " + "Parse multiple times to load different files for different controllers or to " + "override the parameters of the same controller.", default=None, action="append", required=False, diff --git a/controller_manager/doc/userdoc.rst b/controller_manager/doc/userdoc.rst index bd567ff074..d86d8a1b3b 100644 --- a/controller_manager/doc/userdoc.rst +++ b/controller_manager/doc/userdoc.rst @@ -168,7 +168,7 @@ There are two scripts to interact with controller manager from launch files: -c CONTROLLER_MANAGER, --controller-manager CONTROLLER_MANAGER Name of the controller manager ROS node -p PARAM_FILE, --param-file PARAM_FILE - Controller param file to be loaded into controller node before configure + Controller param file to be loaded into controller node before configure. Parse multiple times to load different files for different controllers or to override the parameters of the same controller. -n NAMESPACE, --namespace NAMESPACE DEPRECATED Namespace for the controller_manager and the controller(s) --load-only Only load the controller and leave unconfigured.