View Single Post
  #13   Spotlight this post!  
Unread 17-12-2013, 00:50
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,584
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Drive with tallons

Quote:
Originally Posted by MaxMax161 View Post
All three can replace all three (Except for window motors, I learned that today). The only thing you need to be aware of is that to change from jags/victors to tallons you need to change the initialization in your code as well otherwise the output will get doubled. (40% --> 80%, 70% --> 100%). Jags and victors can be swapped without code changes.
I'm not sure what you're referring to by initialization. There are two relevant differences.

Both Talons and Jaguars are linear. If you calibrated a certain output with one, you should be able to swap to the other with no changes. Victor 888 are not quite as linear, and Victor 884 are not very linear. A value calibrated for a 884 or an 888 might need to change if you switched to another motor controller. See http://www.chiefdelphi.com/media/papers/2720

Both Victors and Talons use a hobby PWM range (1ms to 2ms). The Jaguar uses a larger range to gain more resolution. If you use a Jaguar, but program it with the Talon or Victor class, you will not get to full speed. Alternately, if you use a Talon or a Victor, but program it with the Jaguar class, you will only get partial range. There are less changes between the Talon and Victor classes, but you should always use the class that corresponds to the motor controller you are using. It should only be one line of code or one VI to switch.

Last edited by Joe Ross : 17-12-2013 at 00:57.