-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
# Conflicts: # build.gradle # src/main/java/org/usfirst/frc/team25/scouting/data/BlueAlliance.java
- Loading branch information
Showing
13 changed files
with
267 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,4 @@ jfx { | |
appName="raider-client" | ||
} | ||
|
||
mainClassName = 'org.usfirst.frc.team25.scouting.client.ui.Main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
src/main/java/org/usfirst/frc/team25/scouting/data/Alliance.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
src/main/java/org/usfirst/frc/team25/scouting/data/AllianceReport.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package org.usfirst.frc.team25.scouting.data; | ||
|
||
/** | ||
* Class for alliance-based calculations and stats | ||
* Not used during the 2018 season | ||
*/ | ||
public class AllianceReport { | ||
|
||
private TeamReport[] teamReports; | ||
|
||
//Add more here | ||
private double expectedScore, expectedAutoPoints, expectedClimbPoints, expectedTeleOpPoints, expectedBonusRp; | ||
|
||
public AllianceReport(TeamReport teamOne, TeamReport teamTwo, TeamReport teamThree) { | ||
|
||
this.teamReports = new TeamReport[]{teamOne, teamTwo, teamThree}; | ||
} | ||
|
||
|
||
public void calculateStats() { | ||
//Calculate declared variables here | ||
} | ||
|
||
public String getQuickAllianceReport() { | ||
//TODO write this | ||
return ""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.