Log in

View Full Version : The Gyro in Disabled Mode


eaglesfan10
09-02-2008, 11:07
I was wondering about setting up the gyro in disabled mode. I realize that there is currently commented-out code in disabled.c to calculate the gyro bias. Am I also supposed to call Initialize_ADC() and Initialize_Gyro() in Disabled_Init? If I do, do I take those initialize adc and gyro functions out of teleop_init as well the start and stop gyro bias calc functions in teleop()? Any suggestions would really be appreciated. Thanks.

tseres
09-02-2008, 11:43
if you use kevin's new v3.0 sensor code, the gyro automatically starts to calculate the gyro bias in disabled mode. just read the readme

Kevin Watson
09-02-2008, 12:16
Am I also supposed to call Initialize_ADC() and Initialize_Gyro() in Disabled_Init? These functions should be called in teleop.c/Initialize().

-Kevin