Skip to content

Commit

Permalink
Release 3.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
SMEZ1234 committed Jan 6, 2020
1 parent 0e7e3a6 commit d2d3bb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Arachne 3
=================
RELEASE VERSION: Arachne 3.0-alpha (2019)
RELEASE VERSION: Arachne 3.0-beta (2020)
7 changes: 7 additions & 0 deletions src/main/java/arachne/lib/ArachneRobot.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public void startCompetition() {
}
}
}

@Override
public void endCompetition() {
NotifierJNI.stopNotifier(notifierHandle);
end();
}

/**
* Update the alarm hardware to reflect the next alarm.
Expand Down Expand Up @@ -115,6 +121,7 @@ protected void loopFunc() {
protected void initialize() {}
protected void execute(GameState state) {}
protected void onStateChange(GameState oldState, GameState newState) {}
protected void end() {}

protected void errorFallback(Exception exception) {
ArachneLogger.getInstance().critical("Error from inside robot's loopFunc(): " + exception.getMessage());
Expand Down

0 comments on commit d2d3bb9

Please sign in to comment.