-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial support for flock #4112
Conversation
any link to more info on flock, sounds interesting |
There’s no documentation for now, other than the code here and in Raven. Once things settle down a bit, I’ll document how to build the hardware. |
Could this be the foundation for #3626 ? |
That’s one of the goals |
@fiam |
Flock allows a vehicle to receive and store information about other vehicles around it. This is just the initial implementation which receives the flock messages in Raven's format and stores their information, position, speed and heading. No OSD support yet.
Also, calculate distance to the furthest bird
@Pairan, Thanks. I have looked through that and it has mostly the data after the radio receives it and sends it to the flight controller. I am still looking for what, and in what format, that data is sent from radio to radio. |
@Rusty105 you want to find what it is "over the air"? I would assume you would have to talk to the manufacturers of the radio devices as that's something that would not be controlled by the inav (or ground station s/w) dev teams. I know for example with XBEE, the radios we use at work use standard serial data encapsulated in a xbee packet frame. so although the data we're sending is plain text for the most part (in a certain format of course), when you try and sniff that data, it's actually been packetised by the radio hardware itself. |
@wx4cb, nothing that complicated, actually your 2nd paragraph hits the nail on the head. I am, going to use basically the same radio chip, so the two radios will do all the 'heavy lifting' I just need the format of what is sent to the radio. |
are you trying to "sniff" the packets while in the air? usually those radios are used with something like mavlink or LTM - both of which are publically available. in fact they're in the inav wiki. I'm using msp and mavlink right now, but will be switching over to ltm as it's less bandwidth over the crossfire |
no, no in air sniffing, as no one near me has iNAV radar |
@Rusty105 @wx4cb I've created a repository to host the flock specification, a reference library and a minimal board design with an F0 and an SX1278 module at https://github.com/RavenLRS/Flock Hardware is complete, protocol is in progress and reference implementation is not done yet, but feel free to open issues and send pull requests. |
@fiam Thanks, I'll post questions and issues over there. Rusty |
Includes FLOCK, FLOCK-SERIAL and FLOCK-MSP
Flock allows a vehicle to receive and store information about other
vehicles around it. This is just the initial implementation which
receives the flock messages in Raven's format and stores their
information, position, speed and heading. No OSD support yet.
Depends on #4116