
PDP User’s Guide
3/28/2018
Cross The Road Electronics Page 19 3/28/2018
4.7. FRC 2018: ERROR 1 CTRE CAN Receive Timeout
The CAN Receive Timeout occurs when the requested data has not been received within the
timeout. This is usually caused when the PDP is not connected to the CAN bus.
However, with the 2018 version of WPILib, having a PDP object in robot code can result in a
CTRE CAN Timeout error being reported in the console/DriverStation.
This seems to be a result of automatic LiveWindow behavior with the PDP and can be fixed by
disabling LiveWindow telemetry.
LiveWindow can either be disabled for the PDP object…
LiveWindow.
disableTelemetry
(
_pdp
);
… or by disabling all LiveWindow telemetry:
LiveWindow.
disableAllTelemetry
();
It is also possible to get CTRE CAN Timeout errors if PDP data is requested in multiple threads.
It is recommended to keep all PDP functions within a single thread to prevent these timeout
errors.