windelbouwman / virtualcan Goto Github PK
View Code? Open in Web Editor NEWVirtual CAN bus
Virtual CAN bus
In Back end cargo run --release -- --port 18881 is running in cmd
Running `E:\Data\00_Projects\SiriAB\virtualcan-master\rust\target\release\virtualcan.exe --port 18881`
2023-03-21 00:23:16,808 INFO [virtualcan::server] Starting virtual can server at: 0.0.0.0:18881
2023-03-21 00:23:16,811 INFO [virtualcan::server] Bound to 0.0.0.0:18881
Iam Using VS code to run the Python example file,
Once i run this I am getting below error
[Running] python -u "e:\Data\00_Projects\SiriAB\VCAN.py"
Traceback (most recent call last):
File "e:\Data\00_Projects\SiriAB\VCAN.py", line 3, in
bus = can.Bus(interface='virtualcan', channel='localhost:18881')
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\interface.py", line 108, in new
kwargs = load_config(config=kwargs, context=context)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 192, in load_config
bus_config = _create_bus_config(config)
File "C:\Users\Rajesh\AppData\Roaming\Python\Python310\site-packages\can\util.py", line 211, in _create_bus_config
raise CanInterfaceNotImplementedError(
can.exceptions.CanInterfaceNotImplementedError: Unknown interface type "virtualcan"
This works nice for normal CAN frames, but if the data length is higher than 8 it seems to truncate the data. CANFD allows up to 64 bytes data.
I could not find the location where the truncation occurs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.