bolderflight / dronecan Goto Github PK
View Code? Open in Web Editor NEWDroneCAN for Teensy 3.x and 4.x
License: MIT License
DroneCAN for Teensy 3.x and 4.x
License: MIT License
Hi, I've been trying out this library on a Teensy 4.0. I have a program that is using a lightly modified pub.ino example for interfacing with the CAN node. In my code, I wait for a serial input from another device, translate that data into a CAN message, then publish it with this library.
It all seems to work for a while, but eventually node->spinOnce
fails to return and hangs the program. This always happens eventually, but how long it takes depends on how fast I'm running loop() in the main code, even though spinOnce
is only called when I get a serial input, and that rate is constant.
I added a bunch of prints to find what is blocking. It is this line in uc_scheduler.cpp. It happens when this check always fails, so the loop runs forever.
I don't think I have the knowledge to debug further, but I'll have this test setup available for a while so I can help test if you're still supporting this library.
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.