View Single Post
  #3   Spotlight this post!  
Unread 12-02-2011, 13:25
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: running 2 encoders - problems

When I change the Encoder constructor and ask for k2X the channels that did not work (with 4X default) are now working!! And the channels that were working (with k4X default) now display NaN.

Something is wrong inside the encoder libraries? I am pretty sure we have the latest greatest robot image because we are using the new Encoder class that can act as a PIDsource.

We are using DIO channels 1-8 if that matters (hope not). But we moved them around a little to see what is wrong and the errors did not change or move to another channel.

Last edited by wireties : 12-02-2011 at 13:27.