View Single Post
  #16   Spotlight this post!  
Unread 06-03-2013, 15:32
carrillo694's Avatar
carrillo694 carrillo694 is offline
Alex Carrillo
FRC #0694 (Stuypulse)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: New York, NY
Posts: 66
carrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the rough
Re: Mecanum steering

I forgot to answer your other questions!

Quote:
I assume that you must need encoders to ensure that the motors are spinning at exactly the same speed. How would that be done?
The state-of-the-art solution would be to implement a PID feedback control loop. What motor controller are you using? Jaguars provide an easy-to-use speed controller, whereby you plug your encoder into your jaguar and set your PID constants in code. There is also a program through which you can quickly update Jaguar PID constants for tuning. With Victors, you must implement your own speed control feedback loop, but this is still made easier by the fact that WPIlib provides us with a plug-and-play PID loop. What programming language are you using? You can see an example implementation here. For more on PID in the FRC world, searching ChiefDelphi would probably yield good results.

Quote:
How about field-centric steering? Is that particularly difficult to program?
I already answered this in a prior post in this thread. But ask away for further clarification!

Last edited by carrillo694 : 06-03-2013 at 15:33. Reason: wording.