View Single Post
  #13   Spotlight this post!  
Unread 12-03-2008, 10:43
Tim Arnold's Avatar
Tim Arnold Tim Arnold is offline
1902 UCF Mentor; 1523 MARS Alumni
FRC #1902 (Exploding Bacon)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Orlando, FL
Posts: 460
Tim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond reputeTim Arnold has a reputation beyond repute
Send a message via AIM to Tim Arnold Send a message via MSN to Tim Arnold
Re: How to Auto Calibrate

I wrote a simple calibration helper using easyC pro using the display on the OI because hooking up the laptop to dashboard between matches gets old fast.

The code is something like: if joy1 >= 230 { SetUserDisplay = joy2; } (and visa versa). Basically, you disable the robot and push the joystick you aren't calibrating all the way up. The user diplay on the OI then displays the opposite joystick's value (0-255). Adjust the trim until it gets as close as possible to 127, rinse, repeat with the other joystick, and you're good to go.