OK! so now it isn't working! I've called several print statements and writing chars. all the appropriate pieces get called, but the value of:
Code:
temp_gyro_rate = (int)Get_ADC_Result(GYRO_CHANNEL) - gyro_bias;
is always zero, even when we're turning the robot. i've ensured that the number of ADC channels is greater than the number of our channel.
the gyro rate is generally around 30 or -31, but jumps around between these, even though the robot is still during calibration, and these don't change when i'm rotating the robot
i'm completely stumped... could we need a new gyro?