Skip to content

1.1 Debugging Scripts

Nathan zhou edited this page Jan 30, 2026 · 5 revisions

https://github.com/sikaxn/FRC-Custom-CAN-Sensor/tree/dev-board/scripts

Not all scripts are listed. These script require a python-can supported adapter.

CANdbg

CANdbg.py - FRC CAN Analyzer

MessageIDGen

MessageIDGen.py - Raw CAN ID <-> FRC CAN Format calculator

BatteryCANReader.py - Battery RFID Tracking CAN decoder

heartbeatreader.py - RoboRIO Heartbeat Decoder

addressableLEDrainbow_RIOSIM.py - LCD Display Rio driver simulator This can be used to stress test CAN bus

LCDSend_RIOSIM.py and LCDSend_date_RIOSIM.py - LCD Display Rio driver simulator that send current date to LCD

LEDTester.py - Mode 255 rainbow for addressable LED

PDautoDiscovery.py and PDautoDiscoveryReadData.py - Detect PDP / PDH on CAN

ToFReader.py and ToFReaderROI.py - ToF Rio Driver simulator

TofRIOCalc.py - ToF ROI Calculator for vl53l0x

addressableLEDBulkSend.py - Simulating a lot of addressable LED CAN device This can be used to stress test CAN bus

addressableLED_RIOSIM.py - addressable LED driver simulator

Clone this wiki locally