StvLi/dsh-ros2--packages-sidecar ↗★ 22
dsh-ros2-sidecar
提供高频ROS2数据降频与缓存框架 适合需要将高频ROS2话题降频并缓存为语义数据供LLM读取的场景。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 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/Reducerbase /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).