Thread: Up the Ramp
View Single Post
  #11   Spotlight this post!  
Unread 10-03-2003, 04:39
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
Quote:
Originally posted by Joel Glidden
I'm betting that auton mode sends the speed controllers a max signal but the joysticks do not. Anything mechanical would affect both auton and driver controlled performance.

-Joel
As Al S pointed out, if this IS the case, then you might calibrate your Victors.

Some Victors (883's and a 4) in "factory calibration" (default setting, cal button pushed at power on) which I tested recently gave maximum output (no pulses, steady 12V output) for PWM numbers of 40 and less and for 229 and above, leaving you lots of leeway for your joysticks to not give 0 and 254 (they won't, especially if you've trimmed them).

In the same test, they stopped giving pulsed output in the range from 124 to 139. If this is test was in fact valid, it explains why we have such a hard time "zeroing" the joysticks: The default program allows you to set the stick to 127 both ways, but the Victor gives output if the x and the y are both off by 1 or 2, resulting in a 123 being sent to the Victor.

I wonder if this could be the cause of the turning - the motors are going in opposite directions, and neutral seems displaced.

The test involved feeding a count-up or -down number to the selected PWM output, and looking at the o/p of the subject Victor on a 'scope. The Victor was loaded with a smallish 12V turn-signal lamp, about 1.5 cm diameter, about 3.5 cm long incl moulded glass base (can't locate the package, & I don't know the number offhand). Full output was declared to be a steady 12V output, with no pulses. Neutral was declared to be the state of no-pulse 0 V output.
Reply With Quote