feat(viewer): unify spatial clipping, planning and observation surfaces

Share spatial clipping and height slices across live planning and recorded observations. Refine scene navigation, report serialization and viewer presentation.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-29 09:10:01 +03:00
parent f48411f8fe
commit 7878937691
40 changed files with 464 additions and 138 deletions
+4 -3
View File
@@ -122,8 +122,9 @@ def test_delta_sends_only_changed_chunks_pose_and_transform(monkeypatch):
)
np.testing.assert_equal(dict((n, v) for n, v, _ in logs)["world/query/live"], [[1, 1, 0]])
logs.clear()
render(options={"ceiling_m": -0.1})
assert len(dict((n, v) for n, v, _ in logs)["world/query/live"]) == 0
for options in ({"ceiling_m": -0.1}, {"floor_m": 1.1}, {"floor_m": 1.1, "ceiling_m": 3}):
render(options=options)
assert len(dict((n, v) for n, v, _ in logs)["world/query/live"]) == 0
logs.clear()
assert render(cursor)[0] == b""
assert logs == []
@@ -165,7 +166,7 @@ def test_presentation_changes_and_geometry_repairs_never_reset_camera(monkeypatc
assert render().startswith(b"RRF2")
assert len(views) == 1
for options in ({"ceiling_m": 3}, {"reference": False}, {"query": False},
for options in ({"ceiling_m": 3}, {"floor_m": 0}, {"floor_m": 0, "ceiling_m": 3}, {"reference": False}, {"query": False},
{"trajectory": False}, {"point_size": 4}, {"grid": False}, {}):
assert render(options).startswith(b"RRF2")
assert len(views) == 1