Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.01 KB

PPCAN - Python PCAN

Installation / Dependencies

dbc2json (from libcanardbc) deps:

sudo apt install automake autoconf libtool flex bison libjson-glib-dev

ppcan deps:

python3 -m pip install -r requirements.txt

Usage

usage: ppcan [-h] [-r REFRESH_RATE] -c CAN_CHANNEL -d CAN_DBC

Python PCAN!

optional arguments:
  -h, --help            show this help message and exit
  -r REFRESH_RATE, --refresh_rate REFRESH_RATE
                        Screen refresh rate in milliseconds, in multiples of
                        100ms (i.e. 100, 500, 1000, etc...). Slower refresh
                        rates reduce cpu utilization. Possible values are
                        100ms-25500ms. Default is 100ms.

required arguments:
  -c CAN_CHANNEL, --can_channel CAN_CHANNEL
                        Initialized SocketCAN CAN channel (i.e. can0, can1,
                        vcan0, etc...)
  -d CAN_DBC, --can_dbc CAN_DBC
                        CAN DBC file