feat(perception): add diagnostic semantic SLAM replay

This commit is contained in:
DCCONSTRUCTIONS
2026-08-06 11:26:37 +03:00
parent b7a51e26e6
commit 8eaa3ab497
15 changed files with 4554 additions and 6 deletions
+17
View File
@@ -315,6 +315,7 @@ def canonical_laboratory_adapters() -> dict[str, LaboratoryAdapter]:
"canonical.e33-worker-shadow/v1": _run_e33,
"canonical.e35-degradation-recovery/v1": _run_e35,
"canonical.e46j-raw-fisheye-realtime/v1": _run_e46j,
"experimental.e47-semantic-slam-shadow/v1": _run_e47,
}
@@ -375,6 +376,22 @@ def _run_e46j(request: LaboratoryRunRequest) -> LaboratoryAdapterResult:
)
def _run_e47(request: LaboratoryRunRequest) -> LaboratoryAdapterResult:
from k1link.perception.semantic_slam_replay import build_semantic_slam_replay
result = build_semantic_slam_replay(
repository_root=request.inputs["repository_root"],
semantic_result_root=request.inputs["semantic_result_root"],
threat_result_root=request.inputs["threat_result_root"],
geometry_result_root=request.inputs["geometry_result_root"],
output_root=request.output_root,
)
return LaboratoryAdapterResult(
result_root=result.result_root,
result_id=result.result_id,
)
def _validate_request(
request: LaboratoryRunRequest,
definition: LaboratoryExecutionDefinition,