Quote:
Originally Posted by randantor
We are also having issues with reading the NavX at times. We are using LabVIEW with the SPI bus. Sometimes the data is all 0 with the 'Data Valid' output false. In every case, restarting the robot code from the driver station gets it working again. Before, I had only seen it on our comepetition robot while connected to the FMS, and I thought it was related to the clock issue mentioned earlier, but yesterday it happened twice on the practice bot, which has a diffferent roborio and NavX board. I would say it happens about 1 in every 10-12 robot starts.
I haven't tried I2C or UART, but we may switch protocols for Lone Star and see what happens.
|
Check your battery voltage levels. This sounds like a brownout related issue. What version of the firmware are you running on the NavX?