Comments (27)
@pqoe
https://www.dji.com/matrice600-pro
"The airframe is equipped with the latest DJI technologies, including the A3 Pro flight controller, Lightbridge 2 HD transmission system, Intelligent Batteries and Battery Management system."
DL=downlink
from dji_droneid.
See https://github.com/proto17/dji_droneid/blob/main/matlab/updated_scripts/process_file.m#L325-L329. It's likely because something went wrong trying to run the turbo decoder. There should be another error. Did you provide all of the output? Looking for something that starts with "[ERROR]". If you don't have anymore output to show then there might be something wrong with the remove_turbo binary. Try running ./remove_turbo
with no arguments and see what happens. If you get a usage statement then all is well, otherwise there's something wrong with the binary.
from dji_droneid.
Hi, thanks for replying. I recorded a signal from M600 PRO, around 2414.5 MHz, with a modified Pluto SDR (txco change)
.I'm using matlab on windows. I modified the script process file to add the turbo decoder in same folder of the script such this :
turbo_decoder_path = fullfile(this_script_path, filesep, 'remove_turbo.cc');
In the output i get the demodulated ofdm symbols images but also in matlab output this FRAME : "my current path" is not a recognizable matlab command''
from dji_droneid.
from dji_droneid.
aaahhh i will find another signal that contains the remote ID, i got access to many drones at work :). I might sound a total noob but i totally do not understand this "You would have needed to compile the decoder app by hand using something like Cygwin." i did not compile anything i just put the cc file in same folder as matlab script, i did install pothos sdr for working with gnu radio but not cygwin. Meanwhile your code looks initimidating but i really appreciate your work it got me hooked
from dji_droneid.
The .cc files need to be compiled with some form of C++ compiler. In Windows you could use Cygwin [1], but I don't know for sure if that will work. All of my development and testing was done in Linux
If there are parts of the code that don't make sense just ask! Thanks for trying it out đ
[1] https://www.cygwin.com/
[2] https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler
from dji_droneid.
@pqoe dont forget M600 is lightbridge
this repo is for ocusync protocol. for lb try work on DL.
@proto17
your work is awesome. I really mean it.
the code has been tested on real scenarios. worked perfectly ;-)
from dji_droneid.
@t0rm3nt0r M600 PRO is ocusync i think, whats DL?
@proto17 can i reach you by email? is there anyway to make this work on matlab only, without using gnu radio or g++
from dji_droneid.
@t0rm3nt0r appreciate the kind words and the knowledge that the code does work in real life đ
@pqoe i don't normally give out my e-mail. right now the only options for demod are using the MATLAB with the turbo decoder (includes rate matching) binary. i recommend using a virtual machine with Ubuntu 22.04. i'm pretty sure the home version of MATLAB can be installed on 2 machines so you could have the VM be your second. just keep in mind that you cannot re-home a personal license :( another alternative is to put a breakpoint at https://github.com/proto17/dji_droneid/blob/main/matlab/updated_scripts/process_file.m#L326, copy the /tmp/bits
file to a VM, Docker container, or WSL container where you can run the turbo decoder, then copy the output file back to Windows and continue the MATLAB script. if you think that's a possible solution then i can write up a short guide on how it could be done. i don't use Windows, so it'll be a bit of a guess.
from dji_droneid.
@proto17 ill try that, i'm very excited to make it work, if you could write that guide ill be more than thankful !
from dji_droneid.
@pqoe Give branch 37 a try
from dji_droneid.
thank you for your valuable help, i will try this next week. really appreciate your assistance, i'm very gratful
have nice week :)
from dji_droneid.
Hi, im trying the method you posted earlier, but hit a wall during compilation
as you can see the turbofec folder is not found, i think it has to do with the g++ compilation instruction, maybe one of the arguments i dont know
from dji_droneid.
Oh shoot I forgot to add libtool
to the list of things to install with Cygwin. Re-run the installer executable you downloaded, go through all the menus until after you have selected your mirror. By default you will not see any packages, so at the top left there is a dropdown that I think says Pending
by default. Change that dropdown to Full
and then search for libtool
. Find the one that doesn't have any version information in the name and install the latest version of that. Hopefully that makes some kind of sense. I don't have a Windows machine right now to explain properly đĻ Sorry about that!!
from dji_droneid.
from dji_droneid.
Hi @proto17
I have followed as per your suggestion but i am getting these errors
Please can you hep me.
Thank you
from dji_droneid.
@komalkumar6655 It looks like you ran wget https://github.com/d-bahr/CRCpp/blob/master/inc/CRC.h
instead of https://raw.githubusercontent.com/d-bahr/CRCpp/master/inc/CRC.h
.
from dji_droneid.
from dji_droneid.
I have run the command you have given but i am getting the above mentioned error like connection timed out.
So ihave run the wget https://github.com/d-bahr/CRCpp/blob/master/inc/CRC.h
from dji_droneid.
I think you have a firewall problem as I have no issue with that from home, work, or cell. The second wget
command you're running is pulling back an HTML page and not the header file itself. You can try copy-pasting the contents of the header file into the cpp
dir by hand. Just make sure the file is named CRC.h
from dji_droneid.
Thanks alot for the information in got the application add_turbo .exe and the remove_turbo.exe.
from dji_droneid.
Does all DJI drones have the Drone IDs or only specified DJI drones have these Drone IDs.
from dji_droneid.
Glad it worked! Only certain DJI drones have DroneID. I don't have a good list of the ones that do vs don't
from dji_droneid.
Thank You
i have taken the samples file from the github repo: https://github.com/RUB-SysSec/DroneSecurity/tree/public_squash/samples
But still getting the same error as failed to run final processing step
from dji_droneid.
FRAME: 'D:\DJI' is not recognized as an internal or external command,
operable program or batch file.
THis error is occuring frequently.
from dji_droneid.
@komalkumar6655 You can't have spaces in the file path. Try changing DJI Drone ID
to something like DJI_Drone_ID
from dji_droneid.
I think it worked finally ! i got the 2 files as output, ill recapture an actual RF iq from my pluto sdr then work the matlab code on it, ill let you know later, thanks again !
from dji_droneid.
Related Issues (20)
- AttributeError: module 'gnuradio.fosphor' has no attribute 'glfw_sink_c' HOT 2
- I don't understand what is mean this results HOT 6
- Some problem HOT 1
- Zc sequence identify HOT 2
- parameters of descrambler HOT 2
- Got some questions HOT 1
- Detect DroneID burst without "gr-fosphor" HOT 4
- the problem of frequency_offset HOT 2
- This DJI Drone ID Not Working for Phantom 4 Pro v2.0 Data HOT 2
- different sequence HOT 1
- Mavic 3 DroneID descrambling HOT 2
- Low Correlation Scores HOT 4
- Proposal for normalized cross correlation
- Signal Detection HOT 3
- samples for tests HOT 1
- baudline not available HOT 1
- gnuradio import droneid HOT 3
- Ocusync 4 cannot be resolved HOT 4
- ocysync 3
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 dji_droneid.