Giter VIP home page Giter VIP logo

openplotter-can's Introduction

openplotter-can's People

Contributors

e-sailing avatar sailoog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openplotter-can's Issues

Service is started before canable interface is up

When starting up the Pi, the can read service fails to initialize correctly as the canable0 interface is not up yet (at least 9 times out of 10 for me):

     Loaded: loaded (/etc/systemd/system/openplotter-can-read.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2023-02-03 05:16:22 GMT; 1min 35s ago
   Main PID: 429 (openplotter-can)
      Tasks: 2 (limit: 3954)
        CPU: 1.352s
     CGroup: /system.slice/openplotter-can-read.service
             └─429 /usr/bin/python3 /usr/bin/openplotter-can-read

Feb 03 05:16:22 openplotter systemd[1]: Started openplotter-can-read.service.
Feb 03 05:16:25 openplotter slcand[711]: starting on TTY device /dev/ttyOP_can
Feb 03 05:16:25 openplotter slcand[711]: failed to open TTY device /dev/ttyOP_can
Feb 03 05:16:25 openplotter openplotter-can-read[711]: /dev/ttyOP_can: No such file or directory
Feb 03 05:16:26 openplotter openplotter-can-read[792]: Cannot find device "canable0"

The problem can be fixed by adding a delay in the ExecStart directive

[Service]
ExecStartPre=/bin/sleep 10
...

Probably someone who knows systemd can come up with a elegant solution

MCP2517fd conflict

Hi,

From a fresh install CAN Bus 3.2.21-stable from Settings 3.6.0:

  • When performing a Check System:

Checking GPIO conflicts...
↳There are GPIO conflicts between the following apps:
CAN - MCP251xfd, CAN - MCP251xfd

There is nothing configured yet in CAN Bus, or /boot/config.txt
What could be the cause of this?

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.