Coder Social home page Coder Social logo

virtualcan's People

Contributors

windelbouwman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

virtualcan's Issues

Not able to run CAN.py example file

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"

CANFD: Data truncated

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.