Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Juancams committed Jan 25, 2024
1 parent cfafb6a commit 7000ae5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
5 changes: 3 additions & 2 deletions launch/kobuki.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@

import os
import yaml

from ament_index_python.packages import (
get_package_share_directory,
get_package_prefix
get_package_prefix,
get_package_share_directory
)
from launch import LaunchDescription
from launch.actions import (
Expand Down
5 changes: 3 additions & 2 deletions launch/navigation.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Modified by Juan Carlos Manzanares Serrano

import os

from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument, IncludeLaunchDescription
Expand All @@ -31,7 +32,7 @@ def generate_launch_description():
use_sim_time = LaunchConfiguration('use_sim_time')
slam = LaunchConfiguration('slam')
rviz = LaunchConfiguration('rviz')
map = LaunchConfiguration('map')
map_file = LaunchConfiguration('map')
params_file = LaunchConfiguration('params_file')

declare_use_sim_time_cmd = DeclareLaunchArgument(
Expand Down Expand Up @@ -61,7 +62,7 @@ def generate_launch_description():
launch_arguments={
'use_sim_time': use_sim_time,
'slam': slam,
'map': map,
'map': map_file,
'params_file': params_file
}.items()
)
Expand Down
8 changes: 4 additions & 4 deletions launch/navigation_sim.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
# Modified by Juan Carlos Manzanares Serrano

import os

from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.actions import DeclareLaunchArgument, IncludeLaunchDescription
from launch.substitutions import LaunchConfiguration
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource
from launch_ros.actions import SetRemap

Expand All @@ -32,7 +32,7 @@ def generate_launch_description():
use_sim_time = LaunchConfiguration('use_sim_time')
slam = LaunchConfiguration('slam')
rviz = LaunchConfiguration('rviz')
map = LaunchConfiguration('map')
map_file = LaunchConfiguration('map')
params_file = LaunchConfiguration('params_file')

declare_use_sim_time_cmd = DeclareLaunchArgument(
Expand Down Expand Up @@ -66,7 +66,7 @@ def generate_launch_description():
launch_arguments={
'use_sim_time': use_sim_time,
'slam': slam,
'map': map,
'map': map_file,
'params_file': params_file
}.items()
)
Expand Down

0 comments on commit 7000ae5

Please sign in to comment.