Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed May 15, 2024
1 parent aeb429d commit 43a9851
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ src
xml
spawner
sp
stddev
9 changes: 7 additions & 2 deletions rosbot_xl_bringup/launch/bringup.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
from launch.actions import DeclareLaunchArgument, IncludeLaunchDescription
from launch.conditions import UnlessCondition
from launch.launch_description_sources import PythonLaunchDescriptionSource
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution, PythonExpression, ThisLaunchFileDir
from launch.substitutions import (
LaunchConfiguration,
PathJoinSubstitution,
PythonExpression,
ThisLaunchFileDir,
)
from launch_ros.actions import Node, SetParameter
from launch_ros.substitutions import FindPackageShare

Expand Down Expand Up @@ -90,7 +95,7 @@ def generate_launch_description():
default_value="ignition-gazebo",
description="Which simulation engine will be used",
)

combined_launch_deprecated = LaunchConfiguration("combined_launch_deprecated")
declare_combined_launch_deprecated_arg = DeclareLaunchArgument(
"combined_launch_deprecated",
Expand Down
8 changes: 6 additions & 2 deletions rosbot_xl_bringup/launch/combined.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,15 @@ def generate_launch_description():
"lidar_model": lidar_model,
"camera_model": camera_model,
"include_camera_mount": include_camera_mount,
"combined_launch_deprecated": LaunchConfiguration("combined_launch_deprecated", default=True),
"combined_launch_deprecated": LaunchConfiguration(
"combined_launch_deprecated", default=True
),
}.items(),
)

print("\033[93m[WARN] [launch]: cobined.launch.py will be is deprecated and will be removed please use bringup.launch.py instead.\033[0m")
print(
"\033[93m[WARN] [launch]: combined.launch.py will be is deprecated and will be removed please use bringup.launch.py instead.\033[0m"
)
return LaunchDescription(
[
declare_port_arg,
Expand Down
5 changes: 1 addition & 4 deletions rosbot_xl_bringup/launch/microros.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
OpaqueFunction,
SetEnvironmentVariable,
)
from launch.substitutions import (
LaunchConfiguration,
PathJoinSubstitution,
)
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch_ros.actions import Node
from launch_ros.substitutions import FindPackageShare

Expand Down

0 comments on commit 43a9851

Please sign in to comment.