File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
clearpath_generator_robot/clearpath_generator_robot/launch Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -511,13 +511,14 @@ def generate_platform(self) -> None:
511511 self .platform_extras_service_launch_file )
512512 platform_extras_service_launch_writer .add (self .platform_extras_launch_file )
513513
514- if self .clearpath_config .platform .extras .launch :
514+ for launch in self .clearpath_config .platform .extras .launch :
515515 extra_launch = LaunchFile (
516- name = (os .path .basename (
517- self .clearpath_config .platform .extras .launch ['path' ]
518- )).split ('.' )[0 ],
519- path = os .path .dirname (self .clearpath_config .platform .extras .launch ['path' ]),
520- package = Package (self .clearpath_config .platform .extras .launch ['package' ]),
516+ name = (os .path .basename (launch .path )).split ('.' )[0 ],
517+ path = os .path .dirname (launch .path ),
518+ package = Package (launch .package ),
519+ args = [
520+ (key , launch .args [key ]) for key in launch .args
521+ ]
521522 )
522523 platform_extras_service_launch_writer .add (extra_launch )
523524
You can’t perform that action at this time.
0 commit comments