View Single Post
  #7   Spotlight this post!  
Unread 23-01-2011, 08:03
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Encoder fixed in WPILib 2011?

Wonder if this code might work for you to cling onto hope you don't need to have that pseudo code.

Quote:
Encoder leftEncoder;
leftEncoder = new Encoder;
Encoder rightEncoder;
rightEncoder = new Encoder;
I think I understand you are saying you need to initialize the encoders twice for each one.

Last edited by MagiChau : 23-01-2011 at 08:06.