View Single Post
  #3   Spotlight this post!  
Unread 10-02-2012, 12:56
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Robot Motors Drifting?

Quote:
Originally Posted by chadr03 View Post
Sounds like you need to calibrate your motor controllers.
From the TI Jaguar FAQ:
Quote:
Q38 Do I need to calibrate the Servo (PWM) interface?
A
It depends. The motor controller has a calibration mode, and the need to calibrate depends on the Servo
(PWM) signal range generated by the robot controller.
For FRC users, the answer is probably not if you are using the cRIO system and a new motor controller.
The default parameters of the motor controller are tuned for use with the cRIO. The calibration mode is
provided if you want to use the motor controller with another source of Servo (PWM) signal that does not
have the same range of pulse widths (for example, an older robot controller). Or, if you have calibrated
your Jaguar (MDL-BDC) from a different source and move it back to a cRIO system, you must recalibrate.
From what I've heard the XBox Controller's do not self-center very well, due to their design. Joysticks may not perfectly self-center either for various reasons. We normally code a "deadband" of about 5%, to not only deal with self-centering but to also deal with the Driver not necessarily centering the Joystick when their hands are on the controller.

The way a deadband works is if a signal is within a range (say +/-5%) it outputs a zero. Otherwise it outputs the input signal. Pretty easy and then you don't have this to worry about again.
__________________