Today we had our FTC Championship event, where our robot froze in almost every attempt to drive it after 2 games. We are trying to find out the problem going through the logcat files, but I found the following error message that came from Nav-micro. Could you go through the error message and see if there is some issue with the Navx driver code ? Please let me know if you need more information. - Thanks
02-05 12:29:18.079 17567 17680 E AndroidRuntime: FATAL EXCEPTION: r/w loop: Modern Robotics USB Core Device Interface Module [AL00VBY8]
02-05 12:29:18.079 17567 17680 E AndroidRuntime: Process: com.qualcomm.ftcrobotcontroller, PID: 17567
02-05 12:29:18.079 17567 17680 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=0; index=2
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.AHRSProtocol.decodeBinaryUint32(AHRSProtocol.java:685)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.ftc.AHRS$navXIOThread.decodeNavxProcessedData(AHRS.java:1306)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.ftc.AHRS$navXIOThread.ioComplete(AHRS.java:1052)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.ftc.AHRS$DimI2cDeviceReader.portDone(AHRS.java:1688)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.ftc.AHRS$DimI2cDeviceReader.access$600(AHRS.java:1513)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.kauailabs.navx.ftc.AHRS$DimI2cDeviceReader$1.portIsReady(AHRS.java:1546)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.qualcomm.robotcore.hardware.I2cDeviceImpl.portIsReady(I2cDeviceImpl.java:249)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.qualcomm.hardware.modernrobotics.ModernRoboticsUsbDeviceInterfaceModule.readComplete(ModernRoboticsUsbDeviceInterfaceModule.java:932)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.qualcomm.hardware.modernrobotics.comm.ReadWriteRunnableStandard$1.run(ReadWriteRunnableStandard.java:369)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.qualcomm.robotcore.util.ThreadPool.logThreadLifeCycle(ThreadPool.java:513)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at com.qualcomm.hardware.modernrobotics.comm.ReadWriteRunnableStandard.run(ReadWriteRunnableStandard.java:304)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
02-05 12:29:18.079 17567 17680 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)