Comments (2)
I am intimately aware that libkovan isn't thread safe. Apologies for not making this clearer in the documentation. This is on the road map, but it is not high priority, as 95% of botball teams will not use threading. Thread safety was omitted simply because libkovan was written under extreme time constraints, and getting stuff working for the majority was the only priority. As a workaround, use a mutex.
from libkovan.
First of all, thanks for the quick answers.
I don't think that multi-threading is as little used as you think it is. If you look at the botball community forums on programming you can see that two of the most recent topics are on threading, and I know that at least some of the other teams we talked to during ECER were using multiple threads too (I don't remember how many teams there were exactly, though). At least one of the topics seems to have been created by a rookie programmer, so I don't think that only more advanced programmers are facing this problem ... A rookie programmer might not even be able to tell that a bug is caused by his use of multiple threads and in turn blame hardware, bad luck, etc.
from libkovan.
Related Issues (8)
- kovan_module_p.cpp:83:2: error: '::close' has not been declared
- mav function for motor control does not function properly
- NATIVE_RES not working HOT 1
- bgr not working
- hsv blob-tracking not using hsv
- [Critical BUG] Motor position counter keeps at zero in KISS IDE simulator, breaking several functions
- Motor mode is being zero'd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libkovan.