Skip to content

Commit cc6bed8

Browse files
Fix code style issues with Autopep8
1 parent c44e4d8 commit cc6bed8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

autonomy/interfacing/can/launch/can.launch.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,28 @@
55
from ament_index_python.packages import get_package_share_directory
66
import os
77

8+
89
def generate_launch_description():
910
# Get the path to the config file
1011
config_file = os.path.join(
1112
get_package_share_directory('can'),
1213
'config',
1314
'params.yaml'
1415
)
15-
16+
1617
# Declare launch arguments
1718
can_interface_arg = DeclareLaunchArgument(
1819
'can_interface',
1920
default_value='can0',
2021
description='Name of the CAN interface to use (e.g., can0)'
2122
)
22-
23+
2324
publish_rate_arg = DeclareLaunchArgument(
2425
'publish_rate_hz',
2526
default_value='50',
2627
description='Rate in Hz at which to check for CAN messages'
2728
)
28-
29+
2930
# Create the CAN node
3031
can_node = Node(
3132
package='can',
@@ -37,7 +38,7 @@ def generate_launch_description():
3738
}],
3839
output='screen'
3940
)
40-
41+
4142
# ============================================================================
4243
# TEST CONTROLLER NODE (for development/testing only)
4344
# Comment out the following section if you want to disable the test controller
@@ -51,7 +52,7 @@ def generate_launch_description():
5152
# ============================================================================
5253
# End of test controller section
5354
# ============================================================================
54-
55+
5556
# Return the launch description
5657
return LaunchDescription([
5758
can_interface_arg,

0 commit comments

Comments
 (0)