Skip to content

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

@bengold22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions