Thread: Exploding 884s
View Single Post
  #10   Spotlight this post!  
Unread 27-02-2003, 00:37
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
Quote:
Originally posted by Clanat
What do teams calibrate the victors for?

I'm going to try to explain this from a programming standpoint.

The speed controllers are already set to have a value of 127 being neutral, 255 full forward and 0 full reverse. However, if you look at the debug output by the joysticks, they usually hover around 245, because the plastic housing is in the way. Therefore, unless you calibrate the speed controllers, your robot will never see full power.

By calibrating, it sets the full power of the speed controller to be whatever you tell it to be. If you go into calibration mode, and move the joystick full forward and full reverse (example: joystick of 245 and 10), then those values will be the new range. Anything beyond those values will also be full forward (so it would still be safe to send it a value of 250).


Remember to return the joystick to center position before releasing the button, because the very last value it reads is recorded as neutral.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.

Last edited by Jnadke : 27-02-2003 at 00:51.