- {alliance === "red" && scoreMap}
-
- {
- setForm((prevForm) => {
- const prevEvents = prevForm.auto.shootEvents;
- prevEvents.push({
- interval: cycle,
- startPosition: mapPosition ?? { ...defaultPoint },
- });
- return prevForm;
- });
- }}
- originTime={originTime}
- disabled={mapPosition === undefined}
- size="compact"
- />
- {
- setForm((prevForm) => ({
- ...prevForm,
- auto: {
- ...prevForm.auto,
- movement: { ...prevForm.auto.movement, ...value },
- },
- }));
- }}
- currentMovement={currentForm.auto.movement}
- />
-
-
- {alliance === "blue" && scoreMap}
-
- );
-};
diff --git a/apps/scouting/frontend/src/scouter/pages/tabs/ShiftTab.tsx b/apps/scouting/frontend/src/scouter/pages/tabs/ShiftTab.tsx
index 88fa86d..f5a6a82 100644
--- a/apps/scouting/frontend/src/scouter/pages/tabs/ShiftTab.tsx
+++ b/apps/scouting/frontend/src/scouter/pages/tabs/ShiftTab.tsx
@@ -3,7 +3,12 @@
import { useState, type FC } from "react";
import type { TabProps } from "../ScoutMatch";
import { ScoreMap, defaultPoint } from "../../components/ScoreMap";
-import type { Alliance, Point, ShiftType } from "@repo/scouting_types";
+import type {
+ Alliance,
+ Point,
+ ScoutingForm,
+ ShiftType,
+} from "@repo/scouting_types";
import { MovementForm } from "../../components/MovementForm";
import Stopwatch from "../../components/stopwatch";
@@ -23,14 +28,22 @@ export const ShiftTab: FC