Hi, I’m trying to collect information from 2 gyros. We made an SPI Y cable with ID 0 and 1 and plugged one into each ADXRS450 gyro. We constructed them in C++:
gryo1 = new frc::ADXRS450_Gyro(frc::SPI::kOnboardCS0);
gryo2 = new frc::ADXRS450_Gyro(frc::SPI::kOnboardCS1);
However, after multiple tests, we found that we are only able to read heading from the Gyro that is created first in the constructor. We tried connecting one gyro to the MXP board and one to the SPI port and had the same result. We confirmed that both SPI cables and gyros work.