Hi,
Issue 1:
We have a NAVX2 and are considering using it mounted on the RoboRIO. What is uncertain is whether this may coexist with the ADXR450 FRC Gyro also plugged directly into the RoboRIO. One could be a useful check on the other. Are there conflicting port issues when considering this? I see that there is a jumper on the ADXR450 (CS0, CS1, CS2). We would want to use the Navx2 with the recommended new AHRS(SPI.Port.kMXP) constructor. The ADXR450 gyro has a similar constructor also with an SPI port parameter, ADXRS450_Gyro(SPI.Port port).
How could a port conflict be prevented? Should the port be set on the ADXR450 gyro? Or, should the other constructor be used, ADXRS450_Gyro(), that uses CS0? If the latter, should the jumper be left as-is on the ADXRS450 or… ?
Thanks folks. This is our first foray into gyros and navigation.
Issue 2:
I noticed that, in the Swerve drive code provided by REV, the sensor is an ADIS16470. It looks to me that this sensor is compatible with the NavX2, the function calls are the same for getRate(), getAngle() and reset() but the documentation is unclear whether the direction of rate and angle are counter-clockwise on one and clockwise on the other. Would the calls to these methods yield identical results?