Quote:
|
Originally Posted by Abwehr
Have you called BOTH Start_Gyro_Bias_Calc() and Stop_Gyro_Bias_Calc() before autonomous executes?
|
No, I don't, but that's because I know the bias already. I do call
Code:
Initialize_Gyro();
Initialize_ADC();
Set_Gyro_Bias(1092); //1092 for kit gyro, 1003 for ADXSR300
in my User_Initialization () function, which is called before autonomous mode triggers. And the gyro is working perfectly in user mode (indeed, if I flip back and forth from autonomous mode to user mode the gyro always works in user mode)