import os
from glob import glob
from setuptools import setup, find_packages

package_name = 'saltybot_visual_odom'

setup(
    name=package_name,
    version='0.1.0',
    packages=find_packages(exclude=['test']),
    data_files=[
        ('share/ament_index/resource_index/packages',
         [f'resource/{package_name}']),
        (f'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='Visual odometry + Kalman fusion for saltybot',
    license='MIT',
    entry_points={
        'console_scripts': [
            'visual_odom  = saltybot_visual_odom.visual_odom_node:main',
            'odom_fusion  = saltybot_visual_odom.odom_fusion_node:main',
            'stereo_orb   = saltybot_visual_odom.stereo_orb_node:main',
        ],
    },
)
