Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrhuynh committed Jun 28, 2024
1 parent 210d3cb commit 43628a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def __init__(self):
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(
Expand Down Expand Up @@ -57,8 +56,7 @@ def __init__(self):
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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
('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')),
],
Expand Down

0 comments on commit 43628a4

Please sign in to comment.