from setuptools import setup

package_name = "saltybot_vesc_driver"

setup(
    name=package_name,
    version="0.1.0",
    packages=[package_name],
    data_files=[
        ("share/ament_index/resource_index/packages", [f"resource/{package_name}"]),
        (f"share/{package_name}", ["package.xml"]),
        (f"share/{package_name}/launch", ["launch/vesc_driver.launch.py"]),
        (f"share/{package_name}/config", ["config/vesc_params.yaml"]),
    ],
    install_requires=["setuptools", "pyvesc"],
    zip_safe=True,
    maintainer="sl-controls",
    maintainer_email="sl-controls@saltylab.local",
    description="VESC UART driver for motor control and telemetry",
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "vesc_driver_node = saltybot_vesc_driver.vesc_driver_node:main",
            "velocity_smoother_node = saltybot_vesc_driver.velocity_smoother_node:main",
        ],
    },
)
