Skip to content

Commit

Permalink
add passing shot to scouting app
Browse files Browse the repository at this point in the history
  • Loading branch information
Shilab66 committed Apr 1, 2024
1 parent cd0b8fb commit 46d776f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions falconscoutcore/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"TeleopSpeaker",
"TeleopAmp",
"TeleopTrap",
"TeleopPassing",
"TeleopNotes",
"Parked",
"ClimbStatus",
Expand Down
1 change: 1 addition & 0 deletions falconscoutcore/data_validation/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ auto_centerline: "AutoCenterline"
teleop_speaker: "TeleopSpeaker"
teleop_amp: "TeleopAmp"
teleop_trap: "TeleopTrap"
teleop_passing: "TeleopPassing"
parked: "Parked"
climbed: "ClimbStatus"
harmonized: "Harmonized"
Expand Down
2 changes: 1 addition & 1 deletion scoutingapp/src/components/inputs/IncrementNumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function IncrementNumberInput(props: ComponentSetup) {
>
-
</button>
<div className={`flex w-1/3 h-full text-2xl float-left items-center ${color == "red" ? "bg-red-400" : color == "yellow" ? "bg-amber-300" : color == "green" ? "bg-green-400" : "bg-white"}`}>
<div className={`flex w-1/3 h-full text-2xl float-left items-center ${color == "red" ? "bg-red-400" : color == "yellow" ? "bg-amber-300" : color == "blue" ? "bg-blue-500" : color == "green" ? "bg-green-400" : "bg-white"}`}>
<p className={"text-center w-full"}>{counter}</p>
</div>
<button
Expand Down
12 changes: 12 additions & 0 deletions scoutingapp/src/config/structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@
],
"id": "TeleopTrap"
},
{
"type": "IncrementNumberInput",
"text": "Teleop/Endgame Passing Cycles",
"placeholder": [
"0"
],
"options": [
"blue"
],
"id": "TeleopPassing"
},
{
"type": "GenericTextArea",
"text": "Teleop Qualitative Notes",
Expand Down Expand Up @@ -266,6 +277,7 @@
"TeleopSpeaker",
"TeleopAmp",
"TeleopTrap",
"TeleopPassing",
"TeleopNotes",
"Parked",
"ClimbStatus",
Expand Down

0 comments on commit 46d776f

Please sign in to comment.