-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mech-OffSeason-2024 #13
base: main
Are you sure you want to change the base?
Conversation
Created new file for new intake system removed unnecessary code - Atif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you've already reviewed the FSM? I've just looked at the implementation.
*/ | ||
public boolean handleAutoOuttakingState() { | ||
if (!autoOuttakingTimerStarted) { | ||
autoOuttakingTimerStarted = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need autoOuttakingTimerStarted, you can just check if the timer value is equal to 0. Also if you need a new timer make a new timer, no need to share a timer with the other code.
|
||
currentState = nextState(input); | ||
|
||
currentTime = Timer.getFPGATimestamp(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the overrun detection code?
added Code for new intake design