Skip to content

Create Routines for Calibrating the Turret #74

Description

@brhecker

The turret needs to calibrate its limits on each restart. We should have 2 routines to do this

The first should

  • Run the turret in the CCW direction until it hits the limit switch
  • Use a constant representing the expected range of the turret to set the encoder to negative half the range

The second should

  • Run the turret CCW until it hits the limit switch then set the encoder to 0
  • Run the turret CW until it hits the other limit and record the encoder value
  • Set the position to half that recorded value

Create Commands that run each of these routines

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions