Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 18, 2024
1 parent ee6465a commit 1c365d7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions odri_bolt_gz/launch/bolt_gazebo_sim.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,23 @@ def generate_launch_description():

# Start Gazebo

pth_odri_bgz_world = os.path.join(get_package_share_directory('odri_bolt_gz'),
'world',
'CloseView.sdf')
pth_odri_bgz_user_cfg = os.path.join(get_package_share_directory('odri_bolt_gz'),
'config',
'view_bolt.config')
pth_odri_bgz_world = os.path.join(
get_package_share_directory("odri_bolt_gz"), "world", "CloseView.sdf"
)
pth_odri_bgz_user_cfg = os.path.join(
get_package_share_directory("odri_bolt_gz"), "config", "view_bolt.config"
)

gazebo = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
[PathJoinSubstitution([FindPackageShare("ros_gz_sim"), "launch", "gz_sim.launch.py"])]
),
launch_arguments=[("gz_args", [" -r -v 4 " + pth_odri_bgz_world
+ " --gui-config "
+ pth_odri_bgz_user_cfg])],
launch_arguments=[
(
"gz_args",
[" -r -v 4 " + pth_odri_bgz_world + " --gui-config " + pth_odri_bgz_user_cfg],
)
],
)

spawn_entity = Node(
Expand Down

0 comments on commit 1c365d7

Please sign in to comment.