Wykres commitów

166 Commity (4309068874b0f8d878e695a1af16280bb7bf8604)

Autor SHA1 Wiadomość Data
David Protzman 4309068874 Added comments 2022-04-30 11:58:21 -04:00
David Protzman 60ea5e6f3f Shrunk the peak search window from 100 to 10
No reason to look that far around for the peak of a ZC sequence correlation
2022-04-30 11:58:02 -04:00
David Protzman b442f73baf Now using a truly normalized cross correlation 2022-04-30 11:57:09 -04:00
David Protzman e4a49306b2 Added running sum for abs squared 2022-04-28 23:04:50 -04:00
David Protzman 9daf1ecaab Added missing update to `prev_val` 2022-04-28 22:46:08 -04:00
David Protzman 1d2698c0af Added a new normalized xcorr function that's faster
Does trade some accuracy in the process
2022-04-28 22:43:57 -04:00
David Protzman 63e26007f8 Merge branch 'main' of github.com:proto17/dji_droneid into main 2022-04-26 22:25:44 -04:00
David Protzman c173de56b4 Added default sample type 2022-04-26 22:18:38 -04:00
David Protzman 5e800d24d0 Making use of get_bytes_per_sample function in convert file type 2022-04-26 22:17:53 -04:00
David Protzman 38352ec47b Casting bursts to double complex 2022-04-26 22:17:17 -04:00
David Protzman 43a19fe44a Added comments 2022-04-26 22:16:08 -04:00
David Protzman 863bf910be Added varargs for extract bursts and find zc seq funcs 2022-04-26 22:15:47 -04:00
David Protzman 94ee1b3602 Updated get_sample_count_of_file to use new function for num of bytes/sample 2022-04-26 21:28:59 -04:00
David Protzman 3213764d68 Added function to get the number of bytes in a numeric type 2022-04-26 21:23:16 -04:00
David Protzman df18420eaf Fixed bug where floating point samples came back as 'single'
This would cause lots of functions to fail since a lot of the dsp functions rely on doubles
2022-04-26 21:12:32 -04:00
proto17 6856680800
Merge pull request #2 from hb9fxq/patch-1
abandon burst at invalid left_idx (0)
2022-04-25 06:42:36 -04:00
Frank Werner-Krippendorf 62fd7eda90
abandon burst at invalid left_idx (0) 2022-04-25 08:44:47 +02:00
David Protzman d8f7b73c37 Added function to convert between IQ formats 2022-04-24 16:57:20 -04:00
David Protzman 6c875b5014 Had to change dimensions on freq correction vector
This happened due to a change in the read_complex_floats function
2022-04-24 16:45:07 -04:00
David Protzman 8fe194bcd6 Added script to normalize an input vector to -1.0 to 1.0 2022-04-24 16:44:33 -04:00
David Protzman 0544182553 Now normalizing the IFFT outputs 2022-04-24 16:44:07 -04:00
David Protzman 3b1448497b Now just calling write_complex 2022-04-24 16:42:40 -04:00
David Protzman 9d259ca6fc Converted create_burst to a function 2022-04-24 15:02:38 -04:00
David Protzman 30f5ecff6e Added function to get the number of seconds since epoch 2022-04-24 15:01:59 -04:00
David Protzman 5daf3dd4cc Now using the read_complex function 2022-04-24 14:48:40 -04:00
David Protzman d57e1e880f Add function to read arbitrary type complex samples from a file 2022-04-24 14:48:29 -04:00
David Protzman f7bcb5eb55 Created function to write complex samples to disk 2022-04-24 14:29:33 -04:00
David Protzman 60ea2b16bc Converted the create_burst script to a function 2022-04-24 00:52:24 -04:00
David Protzman 40a604dd23 Added more plots 2022-04-24 00:45:05 -04:00
David Protzman df098c3e6c Fixed bug in coarse freq recovery
The windows were one sample misaligned in time
2022-04-24 00:42:08 -04:00
David Protzman 7d9f15b28f No longer using `vars{:}`
Would likely end up confusing users
2022-04-24 00:40:41 -04:00
David Protzman 9ad6b0976d Now forcing creation of 9 OFDM symbols 2022-04-24 00:40:17 -04:00
David Protzman df94a81670 The create_burst_2.m is now the main create_burst.m 2022-04-24 00:05:52 -04:00
David Protzman 63370cd7a2 Removed the original create_burst.m script
Will replace with next commit
2022-04-24 00:04:14 -04:00
David Protzman 1dd71fadab Made plotting optional 2022-04-24 00:03:02 -04:00
David Protzman f074e3f4de Made plotting optional 2022-04-24 00:02:03 -04:00
David Protzman 29e211a49e Removed commented out lines 2022-04-24 00:01:53 -04:00
David Protzman e47277c32a Changed to a more reasonable SNR
60 is actually about 30 when looking at the 10*log10(abs(samples).^2) plot
2022-04-24 00:01:11 -04:00
David Protzman 6c45489961 Removed comm.OFDMModulator 2022-04-23 23:59:56 -04:00
David Protzman cbb38ab748 Script is currently working, but not well
Something is up when using the equalizer in demod
2022-04-23 23:45:31 -04:00
David Protzman be583bef6c Fixed bug in create_zc
It was using the wrong FFT bin indices
2022-04-23 18:41:34 -04:00
David Protzman 834015d70b Now plotting time domain of each OFDM symbol 2022-04-23 18:40:52 -04:00
David Protzman 3ee632111a Added logic to deal with the walking phase offset caused by fractional time offset 2022-04-23 18:40:26 -04:00
David Protzman 3f2d65cc12 Fixed bug in data carrier mapping script
It was using the wrong DC carrier index and likely wrong about the left and right most data carrier indices
2022-04-23 18:32:43 -04:00
David Protzman baf6b6219e Fixed bug that would fail if there weren't enough values in the window 2022-04-23 18:04:04 -04:00
David Protzman 4e1229fc60 Added function to write complex samples out to disk 2022-04-23 14:55:23 -04:00
David Protzman 18cf166458 Put the ZC sequence generator back the way it was
Using the new function messed things up for some resason
2022-04-23 14:54:39 -04:00
David Protzman 6484d538c6 Added script to generate IQ bursts
Not working properly yet.  Amplitudes are all messed up
2022-04-23 00:49:45 -04:00
David Protzman 0994e7db76 Created function that packs ints to bytes 2022-04-23 00:49:11 -04:00
David Protzman bc57d1b137 Octave doesn't support the date classes in MATLAB 2022-04-23 00:48:50 -04:00