View Single Post
  #9   Spotlight this post!  
Unread 21-06-2015, 23:49
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,676
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Talons without libraries?

Quote:
Originally Posted by asid61 View Post
I was going to use the XMOS microcontroller to do it, and I guess it's possible to read the encoder on that. That seems like the easier way to do it at this point.
Check to see what the maximum reliable reporting rate of your microcontroller is, and make sure your encoder won't overwhelm it when running at free speed. If it does, you may need a counter divider as an input prefilter, though that will likely ruin the quadrature function of your encoder. This won't be much of a problem if your goal is to set speed, but it could prevent you from specifying an output position based on the encoder.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.