OpenPCDet LiDar Object Detection Node #298
linting_auto.yml
on: pull_request
Run C++/Python linters
5s
Annotations
4 errors and 2 warnings
src/samples/python/aggregator/setup.py#L14
# 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'],
|
src/perception/lidar_object_detection/lidar_object_detection/setup.py#L12
('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')),
],
|
src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py#L26
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(
|
src/perception/lidar_object_detection/lidar_object_detection/lidar_object_detection/lidar_object_detection_node.py#L57
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
|
Run C++/Python linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v1, WATonomous/wato-lint-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run C++/Python linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|