If camera is point straight downwards, the gimbal pitch should be -90. Defining a threshold to gimbal pitch can remove data that does not fit the sampling events.

doFilterGimbalPitch(drone.pitch, threshold.pitch = 0.2)

Arguments

drone.pitch

numeric. vector with gimbal pitch angles

threshold.pitch

numeric. Maximum difference in angle that should be kept in the database

Value

indices of gimbal pitch above the threshold from the minimum gimbal pitch (-90).

Author

Mauricio Cantor