Did anything changed with regard to the ADXRS450 gyro since last season? We got an error on the Driver Station saying it cannot find the gyro. Looking at the source code, it looks like it failed to validate the part ID:
Code:
// Validate the part ID
if ((readRegister(kPIDRegister) & 0xff00) != 0x5200) {
m_spi.free();
m_spi = null;
DriverStation.reportError("could not find ADXRS450 gyro on SPI port " + port.value,
false);
return;
}
Thinking that the part may be defective, we ordered new gyro and it came yesterday and has the same error.