feat: add photo capture package files (Issue #456)

This commit is contained in:
sl-jetson 2026-03-05 09:21:26 -05:00
parent 5e62e81a97
commit 9027fa9e12
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>saltybot_photo_capture</name>
<version>0.1.0</version>
<description>Photo capture service for SaltyBot (Issue #456)</description>
<maintainer email="seb@vayrette.com">seb</maintainer>
<license>MIT</license>
<depend>rclpy</depend>
<depend>std_msgs</depend>
<depend>sensor_msgs</depend>
<depend>cv_bridge</depend>
<test_depend>python3-pytest</test_depend>
<export><build_type>ament_python</build_type></export>
</package>

View File

@ -0,0 +1,2 @@
[develop]
script_dir=$base/lib/saltybot_photo_capture/scripts

View File

@ -0,0 +1,30 @@
from setuptools import find_packages, setup
import os
from glob import glob
setup(
name='saltybot_photo_capture',
version='0.1.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/ament_index/resource_index/packages',
['resource/saltybot_photo_capture']),
('share/saltybot_photo_capture', ['package.xml']),
(os.path.join('share', 'saltybot_photo_capture', 'launch'),
glob(os.path.join('launch', '*launch.[pxy][yma]*'))),
(os.path.join('share', 'saltybot_photo_capture', 'config'),
glob(os.path.join('config', '*.yaml'))),
],
install_requires=['setuptools'],
zip_safe=True,
maintainer='seb',
maintainer_email='seb@vayrette.com',
description='Photo capture service for SaltyBot (Issue #456)',
license='MIT',
tests_require=['pytest'],
entry_points={
'console_scripts': [
'photo_capture_node = saltybot_photo_capture.photo_capture_node:main',
],
},
)