from setuptools import setup

package_name = "saltybot_vesc_health"

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_health.launch.py"]),
        (f"share/{package_name}/config", ["config/vesc_health_params.yaml"]),
    ],
    install_requires=["setuptools", "python-can"],
    zip_safe=True,
    maintainer="sl-jetson",
    maintainer_email="sl-jetson@saltylab.local",
    description="VESC CAN health monitor with watchdog and auto-recovery",
    license="MIT",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "vesc_health_node = saltybot_vesc_health.health_monitor_node:main",
        ],
    },
)
