from setuptools import setup, find_packages
from glob import glob

package_name = 'saltybot_dynamic_obstacles'

setup(
    name=package_name,
    version='0.1.0',
    packages=find_packages(exclude=['test']),
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
        ('share/' + package_name + '/launch',
            glob('launch/*.launch.py')),
        ('share/' + package_name + '/config',
            glob('config/*.yaml')),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='SaltyLab',
    maintainer_email='robot@saltylab.local',
    description='Dynamic obstacle tracking: LIDAR motion detection, Kalman tracking, Nav2 costmap',
    license='MIT',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'dynamic_obs_tracker = saltybot_dynamic_obstacles.dynamic_obs_node:main',
            'dynamic_obs_costmap = saltybot_dynamic_obstacles.costmap_layer_node:main',
        ],
    },
)
