Skip to content

Commit 9127d4f

Browse files
double -> single quotes
Signed-off-by: John Chrosniak <[email protected]>
1 parent 057393f commit 9127d4f

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

nav2_rviz_plugins/launch/route_tool.launch.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# Copyright (c) 2024 John Chrosniak
44
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# Licensed under the Apache License, Version 2.0 (the 'License');
66
# you may not use this file except in compliance with the License.
77
# You may obtain a copy of the License at
88
#
99
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# distributed under the License is distributed on an 'AS IS' BASIS,
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
@@ -26,44 +26,44 @@
2626
def generate_launch_description():
2727

2828
# Nodes launching commands
29-
map_file = LaunchConfiguration("yaml_filename")
29+
map_file = LaunchConfiguration('yaml_filename')
3030

3131
declare_map_file_cmd = DeclareLaunchArgument(
32-
"yaml_filename",
33-
default_value="",
34-
description="Full path to an occupancy grid map yaml file",
32+
'yaml_filename',
33+
default_value='',
34+
description='Full path to an occupancy grid map yaml file',
3535
)
3636

3737
start_route_tool_cmd = launch_ros.actions.Node(
38-
package="rviz2",
39-
executable="rviz2",
40-
output="screen",
38+
package='rviz2',
39+
executable='rviz2',
40+
output='screen',
4141
arguments=[
42-
"-d"
42+
'-d'
4343
+ os.path.join(
44-
get_package_share_directory("nav2_rviz_plugins"),
45-
"rviz",
46-
"route_tool.rviz",
44+
get_package_share_directory('nav2_rviz_plugins'),
45+
'rviz',
46+
'route_tool.rviz',
4747
)
4848
],
4949
)
5050

5151
start_map_server = launch_ros.actions.Node(
52-
package="nav2_map_server",
53-
executable="map_server",
54-
output="screen",
55-
parameters=[{"yaml_filename": map_file}],
52+
package='nav2_map_server',
53+
executable='map_server',
54+
output='screen',
55+
parameters=[{'yaml_filename': map_file}],
5656
)
5757

5858
start_lifecycle_manager_cmd = launch_ros.actions.Node(
59-
package="nav2_lifecycle_manager",
60-
executable="lifecycle_manager",
61-
name="lifecycle_manager",
62-
output="screen",
59+
package='nav2_lifecycle_manager',
60+
executable='lifecycle_manager',
61+
name='lifecycle_manager',
62+
output='screen',
6363
parameters=[
64-
{"use_sim_time": False},
65-
{"autostart": True},
66-
{"node_names": ["map_server"]},
64+
{'use_sim_time': False},
65+
{'autostart': True},
66+
{'node_names': ['map_server']},
6767
],
6868
)
6969

0 commit comments

Comments
 (0)