From f5c683de9453d99cde333f6089de31a90f412b8c Mon Sep 17 00:00:00 2001 From: Meshva Desai Date: Thu, 18 Jul 2024 05:32:13 +0000 Subject: [PATCH] linter --- .../radar_conti_ars408/launch/radar_driver.launch.py | 7 +++---- src/samples/python/aggregator/setup.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/interfacing/sensor_interfacing/radar_conti_ars408/launch/radar_driver.launch.py b/src/interfacing/sensor_interfacing/radar_conti_ars408/launch/radar_driver.launch.py index 00bb57b7..41e9955a 100644 --- a/src/interfacing/sensor_interfacing/radar_conti_ars408/launch/radar_driver.launch.py +++ b/src/interfacing/sensor_interfacing/radar_conti_ars408/launch/radar_driver.launch.py @@ -16,6 +16,7 @@ from pathlib import Path import os + def generate_launch_description(): config = os.path.join( get_package_share_directory('radar_conti_ars408'), @@ -48,7 +49,8 @@ def generate_launch_description(): filters_arg = DeclareLaunchArgument('filters', default_value='0:0') auto_configure_arg = DeclareLaunchArgument('auto_configure', default_value='true') auto_activate_arg = DeclareLaunchArgument('auto_activate', default_value='true') - from_can_bus_topic_arg = DeclareLaunchArgument('from_can_bus_topic', default_value='from_can_bus') + from_can_bus_topic_arg = DeclareLaunchArgument( + 'from_can_bus_topic', default_value='from_can_bus') to_can_bus_topic_msg = DeclareLaunchArgument('to_can_bus_topic', default_value='to_can_bus') # can sender @@ -156,7 +158,6 @@ def generate_launch_description(): output='screen', parameters=[LaunchConfiguration('params_file')]) - ld = LaunchDescription([ interface_arg, enable_can_fd_arg, @@ -171,9 +172,7 @@ def generate_launch_description(): autostart_arg, use_sim_time_arg, timeout_sec_msg, - radar_node, - socket_can_receiver_node, socket_can_receiver_configure_event_handler, socket_can_receiver_activate_event_handler, diff --git a/src/samples/python/aggregator/setup.py b/src/samples/python/aggregator/setup.py index b0afb9f6..f77c1804 100755 --- a/src/samples/python/aggregator/setup.py +++ b/src/samples/python/aggregator/setup.py @@ -14,7 +14,7 @@ # Include our package.xml file (os.path.join('share', package_name), ['package.xml']), # Include all launch files. - (os.path.join('share', package_name, 'launch'), \ + (os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*.launch.py'))), ], install_requires=['setuptools'],