from setuptools import setup

package_name = "saltybot_nav2_uwb"

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/nav2_uwb.launch.py",
        ]),
        (f"share/{package_name}/config", [
            "config/nav2_uwb_params.yaml",
        ]),
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="sl-jetson",
    maintainer_email="sl-jetson@saltylab.local",
    description=(
        "Nav2 with UWB localization: pose bridge (map→odom TF from UWB-IMU EKF) "
        "and sequential waypoint follower (Issue #599)"
    ),
    license="Apache-2.0",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "uwb_pose_bridge_node  = saltybot_nav2_uwb.uwb_pose_bridge_node:main",
            "waypoint_follower_node = saltybot_nav2_uwb.waypoint_follower_node:main",
        ],
    },
)
