|
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.
|