diff --git a/apps/control-station/src/App.tsx b/apps/control-station/src/App.tsx index 75b137a..861e2c6 100644 --- a/apps/control-station/src/App.tsx +++ b/apps/control-station/src/App.tsx @@ -222,6 +222,7 @@ export default function App() { if (!polygonRunRoute.active || polygonRunRouteOpenedRef.current) return; polygonRunRouteOpenedRef.current = true; workspace.openView("polygon-run"); + workspace.closeNavigation(); }, [polygonRunRoute.active, workspace]); if (!sceneSettingsCommitterRef.current) { @@ -420,8 +421,8 @@ export default function App() { const selectRoot = (rootId: RootId) => { setActiveRoot(rootId); if (rootId === "polygon") { - workspace.closeNavigation(); workspace.openView("polygon-run"); + workspace.closeNavigation(); return; } workspace.closeView(); diff --git a/apps/control-station/src/workspaces/PolygonRoverScene.tsx b/apps/control-station/src/workspaces/PolygonRoverScene.tsx index 3926fcf..3f76d5c 100644 --- a/apps/control-station/src/workspaces/PolygonRoverScene.tsx +++ b/apps/control-station/src/workspaces/PolygonRoverScene.tsx @@ -10,7 +10,7 @@ interface PolygonRoverSceneProps { workerAvailable: boolean; } -const CAMERA_POSITION = new THREE.Vector3(7.2, 5.6, 7.2); +const CAMERA_POSITION = new THREE.Vector3(5.3, 3.9, 5.3); const CAMERA_TARGET = new THREE.Vector3(0, 0.55, 0); function threePosition(state: PolygonVehicleState): THREE.Vector3 {