OpenPCDet LiDar Object Detection Node #298
4 errors
Autopep8 found 4 errors
Annotations
Check failure on line 21 in src/samples/python/aggregator/setup.py
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
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')),
],
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(
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