View Single Post
  #3   Spotlight this post!  
Unread 17-02-2012, 08:14
dbeckwith's Avatar
dbeckwith dbeckwith is offline
Lead Programmer
AKA: Daniel Beckwith
FRC #3205 (The Patriots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: USA
Posts: 84
dbeckwith is an unknown quantity at this point
Re: CounterObject for RPM

If it only works when the motor is going slow, could it be that your wheel or whatever you're driving is going faster than the AS5030's max RPM? Also I think that encoder in particular isn't really for detecting speeds more than angles. You might be better off using the encoders that go on the ToughBoxes. In any case, could you post your encoder code just to make sure it isn't something wrong with that? It could also be that you haven't set up the encoder properly in the code.
__________________
q = (2*b) | ~(2*b);

if (life.getLemons() != null) this.lemonade = new Drink(life.getLemons());
else throw new NoLemonsException("What now?");


Reply With Quote