dji_srt_parser
Advanced tools
Comparing version 1.0.33 to 1.0.34
@@ -122,10 +122,14 @@ function DJI_SRT_Parser() { | ||
//If preset speeds set, copy them | ||
if (result.SPEED_TWOD) result.SPEED.TWOD = result.SPEED_TWOD; | ||
else result.SPEED.TWOD = distance2D / time; | ||
delete result.SPEED_TWOD; | ||
if (result.SPEED_VERTICAL) result.SPEED.VERTICAL = result.SPEED_VERTICAL; | ||
else result.SPEED.VERTICAL = distanceVert / time; | ||
delete result.SPEED_VERTICAL; | ||
if (result.SPEED_THREED) result.SPEED.THREED = result.SPEED_THREED; | ||
else result.SPEED.THREED = distance3D / time; | ||
delete result.SPEED_THREED; | ||
} | ||
@@ -132,0 +136,0 @@ return result; |
{ | ||
"name": "dji_srt_parser", | ||
"version": "1.0.33", | ||
"version": "1.0.34", | ||
"description": "Parses and interprets DJI's drones SRT metadata", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
331749
830