Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Add encoder to DriveSubsystem #2

Open
michaelvdow opened this issue Jan 10, 2017 · 1 comment
Open

Add encoder to DriveSubsystem #2

michaelvdow opened this issue Jan 10, 2017 · 1 comment
Assignees

Comments

@michaelvdow
Copy link
Contributor

michaelvdow commented Jan 10, 2017

There should be an encoder for each side of the robot. It needs to be initialized using port numbers from the RobotMap class.

Methods to create for each encoder (____ = Left or Right):

  • get____EncoderCount()
  • get____EncoderDistance()
  • get____EncoderRate()
  • reset____Encoder()

Check this link for more help: http://wpilib.screenstepslive.com/s/4485/m/13809/l/599717-encoders-measuring-rotation-of-a-wheel-or-other-shaft

@gabrielbryk gabrielbryk self-assigned this Jan 11, 2017
@gabrielbryk
Copy link
Contributor

Did research and as far as I can tell the code is the same for CAN vs PWM

dpopat added a commit that referenced this issue Jan 11, 2017
michaelvdow added a commit that referenced this issue Jan 11, 2017
Updated Tolerances #2 for Joystick
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants