We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0bd909 commit b66e5c6Copy full SHA for b66e5c6
controller_manager/controller_manager/spawner.py
@@ -148,8 +148,10 @@ def main(args=None):
148
)
149
parser.add_argument(
150
"--controller-ros-args",
151
- help="The --ros-args to be passed to the controller node for remapping topics etc",
+ help="The --ros-args to be passed to the controller node, e.g., for remapping topics. "
152
+ "Pass multiple times for every argument.",
153
default=None,
154
+ action="append",
155
required=False,
156
157
@@ -216,7 +218,7 @@ def main(args=None):
216
218
controller_manager_name,
217
219
controller_name,
220
"node_options_args",
- controller_ros_args.split(),
221
+ [arg for args in controller_ros_args for arg in args.split()],
222
):
223
return 1
224
if param_files:
0 commit comments