-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
# vector_socketcan_adapter | ||
# 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. |