Skip to content
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

Is wantedState correct? #38

Open
binnur opened this issue Feb 15, 2019 · 1 comment
Open

Is wantedState correct? #38

binnur opened this issue Feb 15, 2019 · 1 comment
Assignees

Comments

@binnur
Copy link
Member

binnur commented Feb 15, 2019

@pietroglyph not sure I follow the use case -- should the wantedState be ALIGN_AND_EJECT_PANEL as I am assuming we just BACKING_OUT_FROM_LOADING?

if (mWantedState == WantedState.ALIGN_AND_INTAKE_PANEL && mDrive.isDoneTurning())

@pietroglyph pietroglyph self-assigned this Feb 15, 2019
@pietroglyph
Copy link
Contributor

pietroglyph commented Feb 15, 2019

@binnur BACKING_OUT_FROM_LOADING is part of the chain of states that are part of the ALIGN_AND_INTAKE_PANEL wanted state... It goes like this:

  1. ALIGNING_CLOSEST_REVERSE_TARGET
  2. INTAKING_PANEL
  3. BACKING_OUT_FROM_LOADING <-- This could be BACKING_OUT_FROM_PANEL_INTAKE
  4. TURNING_AROUND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants