File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
controller_manager/controller_manager Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,10 @@ def main(args=None):
148
148
)
149
149
parser .add_argument (
150
150
"--controller-ros-args" ,
151
- help = "The --ros-args to be passed to the controller node for remapping topics etc" ,
151
+ help = "The --ros-args to be passed to the controller node, e.g., for remapping topics. "
152
+ "Pass multiple times for every argument." ,
152
153
default = None ,
154
+ action = "append" ,
153
155
required = False ,
154
156
)
155
157
@@ -216,7 +218,7 @@ def main(args=None):
216
218
controller_manager_name ,
217
219
controller_name ,
218
220
"node_options_args" ,
219
- controller_ros_args .split (),
221
+ [ arg for args in controller_ros_args for arg in args .split ()] ,
220
222
):
221
223
return 1
222
224
if param_files :
You can’t perform that action at this time.
0 commit comments