Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
b4aef18
updated list of competitions -LQ
leopoldian Jan 15, 2026
bb669bc
updated the java and xml for the prematch page, update the xml for th…
leopoldian Jan 18, 2026
dd758b2
update autonomous fully to work with new incremental counting system,…
leopoldian Feb 4, 2026
39bcf59
made a minor edit to teleop xml bc i forgot to push the last commit -LQ
leopoldian Feb 4, 2026
6198244
updated teleop xml and java -LQ
leopoldian Feb 6, 2026
8526950
updated post match xml and java -LQ
leopoldian Feb 7, 2026
1ab49dd
made minor aesthetic changes, in auto changed the starting position p…
leopoldian Feb 7, 2026
24edf69
removed park option in teleop -LQ
leopoldian Feb 14, 2026
5c285ad
added options in post match for what the robot did while the hub was …
leopoldian Feb 14, 2026
51c552c
added the java info for passing cycles in auto, made minor changes to…
leopoldian Feb 14, 2026
ae52921
made minor changes for data collection purposes, about to mess with s…
leopoldian Feb 16, 2026
ecb071d
got rid of dropdown menus and replaced them with radio buttons for th…
leopoldian Feb 17, 2026
d1afaff
removed old comments and unused xml strings, updated already existing…
leopoldian Feb 18, 2026
0ec2cd3
updated field name for scoring - LQ
leopoldian Feb 20, 2026
b181fdc
updated file_aggregator with agg and norm dataframes
rxgran Feb 25, 2026
5a56db8
minor change to fix data exportation issue
leopoldian Mar 7, 2026
d9eb84c
added more competitions to the competition selection -LQ
leopoldian Mar 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions Alliance Optimizer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1007,8 +1007,7 @@
"user_tz": 240
},
"id": "_GnvO48YhtE3",
"outputId": "5f166933-06ea-4067-9295-36166669b81e",
"scrolled": false
"outputId": "5f166933-06ea-4067-9295-36166669b81e"
},
"outputs": [
{
Expand Down Expand Up @@ -2071,9 +2070,9 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python [conda env:base] *",
"language": "python",
"name": "python3"
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -2085,9 +2084,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.12"
"version": "3.13.9"
}
},
"nbformat": 4,
"nbformat_minor": 1
"nbformat_minor": 4
}
Binary file modified app/release/app-release.apk
Binary file not shown.
Binary file modified app/release/baselineProfiles/0/app-release.dm
Binary file not shown.
Binary file modified app/release/baselineProfiles/1/app-release.dm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ protected void onCreate(Bundle savedInstanceState) {
Toast unfilledMessage = new Toast(this);
unfilledMessage.setDuration(Toast.LENGTH_SHORT);


String scoutName;
boolean changeCompetition = false;
Bundle extras = getIntent().getExtras();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@


import android.util.Log;
import android.view.View;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.RadioGroup;
import android.widget.RadioButton;
import android.widget.Spinner;
import android.widget.TextView;

import androidx.annotation.NonNull;
Expand Down Expand Up @@ -153,7 +155,6 @@ public String nextCommaOn(String text, int commaNum){
if(commaNum <= 1){ return text.substring(text.indexOf(",")+1);}
else{return nextCommaOn(text.substring(text.indexOf(",")+1), commaNum-1);}
}

/**
* Returns a copy of {@code text} from the beginning of {@code text} to the next comma.</br>
* Pre-Condition: {@code text} must contain at least one comma.
Expand Down Expand Up @@ -235,4 +236,8 @@ public int searchArrCol(ArrayList<Object[]> arr, int col, Object obj){
}
return -1;
}

public String getSelectedItem(View options) {
return options.toString();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ protected void onCreate(Bundle savedInstanceState) {

// *---Defines all the components on the current page as variables---*

CheckBox floorIntake = findViewById(R.id.floor_intake);
CheckBox humanPlayerStation = findViewById(R.id.human_player_intake);
CheckBox overBump = findViewById(R.id.over_bump);
CheckBox underTrench = findViewById(R.id.under_trench);
CheckBox playedDefense = findViewById(R.id.played_defense);
CheckBox collectedFuel = findViewById(R.id.collected_fuel);
CheckBox passedFuel = findViewById(R.id.passed_fuel);
CheckBox inactive = findViewById(R.id.inactive);
CheckBox other = findViewById(R.id.other);

RadioGroup stopReasonGroup = findViewById(R.id.why_robot_stopped);
RadioButton diedButton = findViewById(R.id.died);
Expand Down Expand Up @@ -81,12 +86,20 @@ protected void onCreate(Bundle savedInstanceState) {
}

if(!postMatchSaveString.isEmpty()){ // Sets all the components to the values within the savestring
// Coral floor pickup able | Coral Source pickup able | Defense received |
// Stop reason | team rank among alliance | other comments questions or concerns ||
floorIntake.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString))); // Sets the value to the parsed value in the savestring
overBump.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString))); // Sets the value to the parsed value in the savestring
postMatchSaveString = u.nextCommaOn(postMatchSaveString); // removes the value from the savestring
// So on an so forth
humanPlayerStation.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
underTrench.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);
playedDefense.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);
collectedFuel.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);
passedFuel.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);
inactive.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);
other.setChecked(Boolean.parseBoolean(u.untilNextComma(postMatchSaveString)));
postMatchSaveString = u.nextCommaOn(postMatchSaveString);

if(u.untilNextComma(postMatchSaveString).equals("No Defense")){
Expand Down Expand Up @@ -138,12 +151,15 @@ protected void onCreate(Bundle savedInstanceState) {

backButton.setOnClickListener((l)->{ // Sets current savestring to current values of components
// Because it's the back button, these values can have no value
// Coral floor pickup able | Coral Source pickup able | Defense received |
// Stop reason | team rank among alliance | other comments questions or concerns ||
String afterMatchInfo = "";

afterMatchInfo += u.getData(floorIntake) + ",";
afterMatchInfo += u.getData(humanPlayerStation) + ",";
afterMatchInfo += u.getData(underTrench) + ",";
afterMatchInfo += u.getData(overBump) + ",";
afterMatchInfo += u.getData(playedDefense) + ",";
afterMatchInfo += u.getData(collectedFuel) + ",";
afterMatchInfo += u.getData(passedFuel) + ",";
afterMatchInfo += u.getData(inactive) + ",";
afterMatchInfo += u.getData(other) + ",";
afterMatchInfo += u.getData(defenseReceivedGroup) + ",";
afterMatchInfo += u.getData(stopReasonGroup) + ",";
afterMatchInfo += u.getData(rankGroup) + ",";
Expand All @@ -168,11 +184,14 @@ else if(u.getData(rankGroup).isEmpty())
else if(u.getData(stopReasonGroup).isEmpty())
response = "Please fill in stop reason";
else{ // If nothing is wrong, keep filling everything in
// Coral floor pickup able | Coral Source pickup able | Defense received |
// Stop reason | team rank among alliance | other comments questions or concerns ||
String postMatchInfo = "";
postMatchInfo += u.getData(floorIntake) + ",";
postMatchInfo += u.getData(humanPlayerStation) + ",";
postMatchInfo += u.getData(overBump) + ",";
postMatchInfo += u.getData(underTrench) + ",";
postMatchInfo += u.getData(playedDefense) + ",";
postMatchInfo += u.getData(collectedFuel) + ",";
postMatchInfo += u.getData(passedFuel) + ",";
postMatchInfo += u.getData(inactive) + ",";
postMatchInfo += u.getData(other) + ",";
postMatchInfo += u.getData(defenseReceivedGroup) + ",";
postMatchInfo += u.getData(stopReasonGroup) + ",";
postMatchInfo += u.getData(rankGroup) + ",";
Expand Down
Loading