Comments (6)
ping @wucke13
from async-mavlink.
Hey, we can add a second method that subscribes all. Would you fancy preparing a PR for that?
from async-mavlink.
I would be more than happy to implement it, but I would love some pointers and tips as I am new to all of this. That way it doesn't get frustrating and then give up halfway. Let me know what steps I need to take/how the interface should look like. Stuff like pseudo code and/or pointers to certain files that need to be adjusted would be helpful.
from async-mavlink.
@wucke13 any ideas?
from async-mavlink.
Sadly this project seems abandoned, what a shame 😢
from async-mavlink.
I don't feel no shame 😄
So, to implement this I see three options:
- one either has to name every variant of the
MavMessage
enum for a message set, and subscribe to it. This is extremely tedious. - alter the source code of the original
mavlink
crate to include an iterator over all variants of saidMavMessage
enum. That way one does not have to type all the combinations, instead one can benefit from code generation already included in bespoke crate. - Just go through the integer IDs for the subscribing, ignoring errors for unknown IDs.
I would definitely rule out option 1. Option 2. seems to be the technically best solution, but back when I pursued an active interest in this it seemed almost impossible to agree on something with the mavlink
maintainers, probably like me they were and/or are short on time. Option three is the quick'n dirty approach.
from async-mavlink.
Related Issues (1)
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 async-mavlink.