StvLi/dsh-ros2--packages-sidecar ↗★ 22

dsh-ros2-sidecar

提供高频ROS2数据降频与缓存框架 适合需要将高频ROS2话题降频并缓存为语义数据供LLM读取的场景。

包名
dsh-ros2-sidecar
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月1日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

dsh-ros2-sidecar

Data-plane sidecar framework(逻辑直连 · 物理分离)— an independent process that subscribes high-frequency ROS2 topics, reduces them to semantic cache entries (value for logic, text for the LLM), and serves the control plane over a Unix Domain Socket (newline-JSON). Not a cordis bundle.

Concrete reducers (e.g. obstacle boolean, cup TF pose) are by design not implemented — this ships the template framework only:

  • sidecar/core.py — CacheEntry / Reducer base / Cache (pure logic, no rclpy)
  • sidecar/server.py — UDS newline-JSON server (get / snapshot / subscribe + heartbeat)
  • sidecar/reducers_placeholder.py — a placeholder reducer (the template to copy)
  • sidecar/selftest.py — --selftest (10 scenarios, no rclpy)

Run the self test:

cd packages/sidecar && python3 -m sidecar.selftest

See docs/sidecar-design.md for the full design (control-plane client lives in dsh-ros2-state).