Skip to content

pbert519/vector_socketcan_adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6220c9c · Sep 16, 2021

History

3 Commits
Sep 16, 2021
Sep 16, 2021
Sep 16, 2021

Repository files navigation

Vector Socketcan Adapter

This is a small helper script to connect a Vector CAN interface or virtual bus to a socketcan interface running on linux machine using ethernet.

The https://github.com/christiansandberg/python-can-remote project is used to tunnel can messages over websockets.

Usage

  • install python on both machines
  • install python-can-remote on both machines: pip3 install python-can-remote
  • on the windows machine
    • start vector hardware configuration
    • configure CAN1 for the CANalyzer application to your interface or virtual bus
    • run python python -m can_remote -c 0 -i vector
  • on the linux machine
    • change windows ip address and socketcan interface in the python script
    • run python3 can_bridge_linux.py
  • Gratulations! The Vector CAN Bus and your the socketcan bus are now connected.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages