Skip to content

Add CARLA waypoint publisher to ROS bridge #620

Add CARLA waypoint publisher to ROS bridge

Add CARLA waypoint publisher to ROS bridge #620

GitHub Actions / Autopep8 failed Nov 16, 2024 in 0s

2 errors

Autopep8 found 2 errors

Annotations

Check failure on line 158 in src/simulation/carla_config/launch/carla.launch.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/simulation/carla_config/launch/carla.launch.py#L150-L158

         output='screen'
     )
 
-    waypoint_topic = DeclareLaunchArgument('waypoint_topic', default_value=['/carla/', LaunchConfiguration('role_name'), '/waypoints'])
-    waypoint_topic_old = DeclareLaunchArgument('waypoint_topic_old', default_value=['/carla/', LaunchConfiguration('role_name'), '/waypointsOld'])
+    waypoint_topic = DeclareLaunchArgument('waypoint_topic', default_value=[
+                                           '/carla/', LaunchConfiguration('role_name'), '/waypoints'])
+    waypoint_topic_old = DeclareLaunchArgument('waypoint_topic_old', default_value=[
+                                               '/carla/', LaunchConfiguration('role_name'), '/waypointsOld'])
 
     """ Launch CARLA Waypoint Publisher """
     carla_waypoint_publisher = Node(

Check failure on line 173 in src/simulation/carla_config/launch/carla.launch.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/simulation/carla_config/launch/carla.launch.py#L166-L173

             'role_name': LaunchConfiguration('role_name')
         }],
         remappings=[
-          (LaunchConfiguration('waypoint_topic'), LaunchConfiguration('waypoint_topic_old')),
+            (LaunchConfiguration('waypoint_topic'), LaunchConfiguration('waypoint_topic_old')),
         ]
     )