Skip to content

OpenPCDet LiDar Object Detection Node #298

OpenPCDet LiDar Object Detection Node

OpenPCDet LiDar Object Detection Node #298

GitHub Actions / Autopep8 failed Jun 28, 2024 in 0s

4 errors

Autopep8 found 4 errors

Annotations

Check failure on line 21 in src/samples/python/aggregator/setup.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/samples/python/aggregator/setup.py#L14-L21

         # 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'],

Check failure on line 19 in src/perception/lidar_object_detection/lidar_object_detection/setup.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/perception/lidar_object_detection/lidar_object_detection/setup.py#L12-L19

         ('share/ament_index/resource_index/packages',
             ['resource/' + package_name]),
         ('share/' + package_name, ['package.xml']),
-        (os.path.join('share', package_name, 'launch'), 
+        (os.path.join('share', package_name, 'launch'),
          glob('launch/*.py')),
         (os.path.join('share', package_name, 'config'), glob('config/*.yaml')),
     ],

Check failure on line 33 in src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py#L26-L33

         self.lidar_data = self.get_parameter("lidar_topic").value
         self.publish_detection = self.get_parameter(
             'enable_detection').get_parameter_value().bool_value
-        
 
         self.label_mapping = {}
         self.subscription = self.create_subscription(

Check failure on line 65 in src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py

See this annotation in the file changed.

@github-actions github-actions / Autopep8

src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py#L57-L65

         self.model.load_params_from_file(filename=args.ckpt, logger=self.logger, to_cpu=True)
         self.model.cuda()
         self.model.eval()
-    
-    
+
     def vision_info_callback(self, msg):
         self.label_mapping = msg.class_map