chore(bridge): register battery_node in setup.py + add missing deps (Issue #125)

- Add battery.launch.py and battery_params.yaml to data_files
- Register battery_node console_script entry point
- Add std_srvs and geometry_msgs package.xml dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sl-jetson 2026-03-02 09:24:45 -05:00
parent 305ca7efc1
commit 4ad5f1d481
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,8 @@
<depend>python3-paho-mqtt</depend>
<depend>sensor_msgs</depend>
<depend>std_msgs</depend>
<depend>std_srvs</depend>
<depend>geometry_msgs</depend>
<depend>diagnostic_msgs</depend>
<test_depend>ament_copyright</test_depend>

View File

@ -13,11 +13,13 @@ setup(
"launch/bridge.launch.py",
"launch/cmd_vel_bridge.launch.py",
"launch/remote_estop.launch.py",
"launch/battery.launch.py",
]),
(f"share/{package_name}/config", [
"config/bridge_params.yaml",
"config/cmd_vel_bridge_params.yaml",
"config/estop_params.yaml",
"config/battery_params.yaml",
]),
],
install_requires=["setuptools", "pyserial"],
@ -36,6 +38,8 @@ setup(
# Nav2 cmd_vel bridge: velocity limits + ramp + deadman + mode gate
"cmd_vel_bridge_node = saltybot_bridge.cmd_vel_bridge_node:main",
"remote_estop_node = saltybot_bridge.remote_estop_node:main",
# Battery management: SoC, alerts, speed limits, SQLite history
"battery_node = saltybot_bridge.battery_node:main",
],
},
)