Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.67 KB

File metadata and controls

71 lines (45 loc) · 1.67 KB

CanBus Tool

This is a CAN bus tool that can send/dump CAN data.

  • Frontend: The GUI is implemented with QML.
  • Backend: CAN bus data headling with C/C++ (Qt) or Python (PyQt)

Support

CAN Interface:

  • kvaser
  • SocketCAN
  • pcan
  • virtual

CAN bus data headling (Backend):

Usage

0. Setup your CAN

Please setup your CAN devices. As SocketCAN for example:

# socketcan setup
$ sudo ip link set can0 type can bitrate 500000
$ sudo ip link set can0 up

Using SocketCAN support for Kvaser interface please see:SocketCAN Support for Kvaser Devices

Through Socketcan, after finish setup you can, you will see can0 show up by ifconfig -a as below:

1-1. Run with Docker (Recommend)

You can use the docker image that we already build, as below

$ docker pull kakalin/qt:5.12.0

if you want to build if from scratch, please check here

And then running with docker:

$ ./run.sh

1-2. Run with local Qt

Please install Qt/QML on your local machine.

2. Choose the backend you want to use it

Going to cpp or python folder and running it by following the related steps in the README file.

When you start sending/receiving can data would be like this: