Merge pull request #1474 from nyalldawson/patch-1

Add mavic air 2 readout time
pull/1476/head
Piero Toffanin 2022-06-18 11:32:21 -04:00 zatwierdzone przez GitHub
commit 40e0f3d413
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ RS_DATABASE = {
'dji fc6310': 33, # Phantom 4 Professional
'dji fc7203': 20, # Mavic Mini v1
'dji fc3170': 27, # DJI Mavic Air 2
'dji fc350': 30, # Inspire 1
@ -42,4 +43,4 @@ def get_rolling_shutter_readout(make, model, override_value=0):
if not key in warn_db_missing:
log.ODM_WARNING("Rolling shutter readout time for \"%s %s\" is not in our database, using default of %sms which might be incorrect. Use --rolling-shutter-readout to set an actual value (see https://github.com/OpenDroneMap/RSCalibration for instructions on how to calculate this value)" % (make, model, DEFAULT_RS_READOUT))
warn_db_missing[key] = True
return float(DEFAULT_RS_READOUT)
return float(DEFAULT_RS_READOUT)