Files
acRealman_xr/xr_rm_input/setup.py

35 lines
1.1 KiB
Python
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""xr_rm_input 包安装配置。
该包负责把 XR/PICO 端发来的 UDP 手柄数据接入 ROS2并提供一个
sample_udp_sender 方便在没有真实手柄时做链路调试。
"""
from glob import glob
from setuptools import setup
package_name = "xr_rm_input"
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", glob("launch/*.launch.py")),
],
install_requires=["setuptools"],
zip_safe=True,
maintainer="Yikai Fu",
maintainer_email="user@example.com",
description="Receives XR controller pose packets and publishes left/right ROS2 messages.",
license="Apache-2.0",
tests_require=["pytest"],
entry_points={
"console_scripts": [
"udp_controller_receiver = xr_rm_input.udp_controller_receiver:main",
"sample_udp_sender = xr_rm_input.sample_udp_sender:main",
],
},
)