You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good evening. I am trying to run your code for DJI Mavic Pro. I set legacy = True. I see that the packet is detected and demodulation is attempted. But the decoding gives an error and I don't see any results at the output. Please tell me in which direction I should look for the problem? Maybe recording IQ will help?
The text was updated successfully, but these errors were encountered:
Hey @Junior-sdr-py , hope you're doing well! Did you manage to resolve the decoding error with DJI Mavic Pro in legacy mode? I'm facing a similar issue—packets are detected and demodulated, but decoding fails due to an array length mismatch. In Packet.py, the line 90
yfake[i*NFFT:(i+1)*NFFT] = itfft(self.symbol_equalized(symbol_f, self.channel))
throws an error because cp_lengths is 8 for legacy, while len(symbols_freq_domain) is 9. yfake is declared as 8 * 1024, but the loop runs 9 times, leading to an out-of-bounds issue. I realized this variable isn't used anywhere other than for plotting, so commented it out. But still there is a error in decoding part as "UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 19: invalid start byte"
Could you help me with resolving the said error?
Good evening. I am trying to run your code for DJI Mavic Pro. I set legacy = True. I see that the packet is detected and demodulation is attempted. But the decoding gives an error and I don't see any results at the output. Please tell me in which direction I should look for the problem? Maybe recording IQ will help?
The text was updated successfully, but these errors were encountered: