Adds cv2.QRCodeDetector-based QR reader that subscribes to all four IMX219 CSI camera streams, deduplicates detections with a 2 s per-payload cooldown, and publishes /saltybot/qr_codes (QRDetectionArray) at 10 Hz. New QRDetection / QRDetectionArray messages added to saltybot_scene_msgs. 16/16 pure-Python tests pass (no ROS2 required). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
from setuptools import setup
|
|
import os
|
|
from glob import glob
|
|
|
|
package_name = 'saltybot_perception'
|
|
|
|
setup(
|
|
name=package_name,
|
|
version='0.1.0',
|
|
packages=[package_name],
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages',
|
|
['resource/' + package_name]),
|
|
('share/' + package_name, ['package.xml']),
|
|
(os.path.join('share', package_name, 'launch'),
|
|
glob('launch/*.py')),
|
|
(os.path.join('share', package_name, 'config'),
|
|
glob('config/*.yaml')),
|
|
],
|
|
install_requires=['setuptools'],
|
|
zip_safe=True,
|
|
maintainer='seb',
|
|
maintainer_email='seb@vayrette.com',
|
|
description='Person detection and tracking for saltybot (YOLOv8n + TensorRT)',
|
|
license='MIT',
|
|
tests_require=['pytest'],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'person_detector = saltybot_perception.person_detector_node:main',
|
|
# QR code reader on CSI frames (Issue #233)
|
|
'qr_reader = saltybot_perception.qr_reader_node:main',
|
|
],
|
|
},
|
|
)
|