Skip to content

Fix ResetRamp to wait for .5 seconds after limit switch is reached to reset encoder #96

Description

@bengold22

Due possibly to behavior of the chain, the "reset ramp" action is not being very consistent. A possible approach to get the encoder to read consistently:

  • In isFinished(), mark the time when the limit switch is reached but do not reset the encoder and do not actually finish
  • .5 seconds after this point, return true in isFinished

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions