feat(lab): add bounded local SLAM surface
This commit is contained in:
@@ -133,6 +133,14 @@ def test_m4_6_timeline_is_indexed_and_spatial_evidence_is_chunked() -> None:
|
||||
assert timeline["recorded_source"]["representation_id"] == "registered-map-increment-v1"
|
||||
assert timeline["point_delivery"] == "exact-current-increment"
|
||||
assert timeline["maximum_source_points_per_frame"] == 3092
|
||||
assert timeline["local_surface_visualization"] == {
|
||||
"authority": "visual-derived",
|
||||
"derivation": "bounded-registered-increment-accumulation",
|
||||
"point_limit": 20000,
|
||||
"radius_m": 12.0,
|
||||
"voxel_size_m": 0.1,
|
||||
"window_seconds": 2.0,
|
||||
}
|
||||
assert "frames" not in timeline
|
||||
|
||||
chunk = get_chunk(RESULT_ID, start=1880, count=12)
|
||||
@@ -143,6 +151,8 @@ def test_m4_6_timeline_is_indexed_and_spatial_evidence_is_chunked() -> None:
|
||||
first = chunk["frames"][0]
|
||||
assert first["schema_version"] == "missioncore.recorded-spatial-evidence-frame/v1"
|
||||
assert first["spatial_available"] is True
|
||||
assert len(first["body_frame"]["origin_map_xyz_m"]) == 3
|
||||
assert len(first["body_frame"]["basis_map_from_body"]) == 3
|
||||
assert first["point_cloud_layer"] == "current-increment"
|
||||
assert first["point_cloud_sample_count"] == first["point_cloud_source_count"]
|
||||
assert 0 < first["point_cloud_sample_count"] <= 4096
|
||||
|
||||
Reference in New Issue
Block a user