|
Re: How to Auto Calibrate
I'm not sure if this is what your looking for but you could set it so that when you press the triggers it sets the joysticks to 127. Then instead of messing with the calibration wheels, you would press the triggers and it would set it to 127, 127. I'm not sure exactly how you would go about doing this but it would probably start with an if statement similiar to this
if(trig_sw==1)
I'm sorry if this isn't that much help. It's my first year in FIRST and I began programming over the summer
|