create MISB files from DJI Mini 4 Pro videos #130
Unanswered
simonecircosta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI,
I installed the plugin and verified that it works correctly, now I'm trying to create a MISB file from a file I created but I get the following error when I click on Extract Recording:
An error has occurred while executing Python code:
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users/circo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 222, in CreateCSV
self.ReadCSVRecordings(input_metadata)
File "C:\Users/circo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 606, in ReadCSVRecordings
self.CreateDJICsv(rows_list, csv_raw)
File "C:\Users/circo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 633, in CreateDJICsv
csv.writer(f_output).writerows(itertools.islice(csv_input, int(values[0]), int(values[-1])))
IndexError: list index out of range
the video and flight data are present at the following link:
https://drive.google.com/drive/folders/1HODaRYeLOsK1nvpPO6TN-M3XPnEGIHaL?usp=sharing
to get the csv of the flight data I used: https://www.phantomhelp.com/logviewer/upload/
I checked the flight data CSV file and noticed that some of the file headers and the time format were different than what the Code inputs. I tried changing the headers in the code to make them consistent with the CSV but I got no results
Beta Was this translation helpful? Give feedback.
All reactions