Log in

View Full Version : PDP CAN receive timeout


The Doctor
22-02-2016, 10:26
We've been having this problem all year. Last year, I wrote a program to stream sensor readings to the DS for debugging purposes. This year, it didn't work. Most of the sensors still work, but this year the amperage readings on the PDP cause all kinds of CAN timeout errors.

The line of code that doesn't work:

for (int i = 0; i < 16; i++)
table.putNumber("pwr_c_" + i,pdp.getCurrent(i)); // current draw for all 16 channels

The error looks something like "CTRE CAN Receive Timeout".

I've tried this with two different Rios and two different PDBs, with no luck. The weird part is, the problem only affects the current readings. Voltage and temperature readings for the PDB are working fine.