Skip to content

Python tools for bridging CAN bus to other protocols such as UDS. Intended primarily for use with PlotJuggler

License

Notifications You must be signed in to change notification settings

Bartimaeus-/CAN-Bridges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CAN-Bridges

Python tools for bridging CAN bus to other protocols such as UDP. Intended primarily for use with PlotJuggler. Presently only UDP is supported, WebSocket support may be added in the future.

#Supported CAN Interfaces Currently PCAN and IXXAT USB-CAN adapters are supported, as well as socketCAN on Linux. The script can be easily modified to include other options supported by python-can. Presently only the PCAN interface on Windows has been tested.

Dependencies

  • Python 3 (developed with 3.6.4)
  • python-can
  • cantools
  • gooey

Installation

Installation of CAN drivers is not covered here. See the appropriate manufacturer website for your USB-CAN adapter.

Installation of Dependencies

pip install python-can
pip install cantools
pip install gooey

Usage

Call the script from the command line to launch the GUI: python can_udp_bridge.py

Follow the instrucitons on-screen for configuring the tool:

image

Plotjuggler Configuration

To configure PlotJuggler, select the UDP Server streaming option and then click "start" to launch the configuration screen:

image

An example configuration for PlotJuggler is shown below:

image

About

Python tools for bridging CAN bus to other protocols such as UDS. Intended primarily for use with PlotJuggler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages