Skip to content

Commit 1c365d7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ee6465a commit 1c365d7

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

Diff for: odri_bolt_gz/launch/bolt_gazebo_sim.launch.py

+12-9
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,23 @@ def generate_launch_description():
6565

6666
# Start Gazebo
6767

68-
pth_odri_bgz_world = os.path.join(get_package_share_directory('odri_bolt_gz'),
69-
'world',
70-
'CloseView.sdf')
71-
pth_odri_bgz_user_cfg = os.path.join(get_package_share_directory('odri_bolt_gz'),
72-
'config',
73-
'view_bolt.config')
68+
pth_odri_bgz_world = os.path.join(
69+
get_package_share_directory("odri_bolt_gz"), "world", "CloseView.sdf"
70+
)
71+
pth_odri_bgz_user_cfg = os.path.join(
72+
get_package_share_directory("odri_bolt_gz"), "config", "view_bolt.config"
73+
)
7474

7575
gazebo = IncludeLaunchDescription(
7676
PythonLaunchDescriptionSource(
7777
[PathJoinSubstitution([FindPackageShare("ros_gz_sim"), "launch", "gz_sim.launch.py"])]
7878
),
79-
launch_arguments=[("gz_args", [" -r -v 4 " + pth_odri_bgz_world
80-
+ " --gui-config "
81-
+ pth_odri_bgz_user_cfg])],
79+
launch_arguments=[
80+
(
81+
"gz_args",
82+
[" -r -v 4 " + pth_odri_bgz_world + " --gui-config " + pth_odri_bgz_user_cfg],
83+
)
84+
],
8285
)
8386

8487
spawn_entity = Node(

0 commit comments

Comments
 (0)