Skip to content

Commit

Permalink
Fix formatting of launchfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Sep 2, 2024
1 parent 01ccb2f commit 11da760
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions ur_simulation_gz/launch/ur_sim_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,16 @@ def launch_setup(context, *args, **kwargs):
PythonLaunchDescriptionSource(
[FindPackageShare("ros_gz_sim"), "/launch/gz_sim.launch.py"]
),
launch_arguments={
"gz_args": ["-r", "-v", "4", world_file]
}.items(),
condition=IfCondition(gazebo_gui)
launch_arguments={"gz_args": ["-r", "-v", "4", world_file]}.items(),
condition=IfCondition(gazebo_gui),
)

gz_launch_description_without_gui = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
[FindPackageShare("ros_gz_sim"), "/launch/gz_sim.launch.py"]
),
launch_arguments={
"gz_args": ["-s", "-r", "-v", "4", world_file]
}.items(),
condition=UnlessCondition(gazebo_gui)
launch_arguments={"gz_args": ["-s", "-r", "-v", "4", world_file]}.items(),
condition=UnlessCondition(gazebo_gui),
)

nodes_to_start = [
Expand Down

0 comments on commit 11da760

Please sign in to comment.