feat(simulation): prefer rover world terrain

This commit is contained in:
DCCONSTRUCTIONS
2026-08-26 17:17:48 +03:00
parent 1b6131904a
commit ae13ca5946
4 changed files with 38 additions and 6 deletions
+3 -2
View File
@@ -679,8 +679,9 @@ def _world_manifest(project_id: str, artifacts: list[dict[str, Any]]) -> dict[st
"streamed_sog_url": url_for("stream-manifest"),
},
"collision": {
"mesh_url": url_for("collision-mesh"),
"available": url_for("collision-mesh") is not None,
"mesh_url": url_for("rover-terrain-mesh") or url_for("collision-mesh"),
"available": (url_for("rover-terrain-mesh") or url_for("collision-mesh"))
is not None,
},
"transforms": {
"world_from_visual": [1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1],