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.