TargetDetectionInfo

interface TargetDetectionInfo

Represents target detection information.

Functions

Link copied to clipboard
abstract fun getChangeOfScale(): Double
Gives the current target rate of change in scale, which is the normalized radial speed of the target relatively to the drone, in hertz.
Link copied to clipboard
@FloatRange(from = 0, to = 1)
abstract fun getConfidenceLevel(): Double
Gives the level of confidence attached to the provided piece of information.
Link copied to clipboard
abstract fun getTargetAzimuth(): Double
Gives the current target azimuth, which is the horizontal north-drone-target angle in radians.
Link copied to clipboard
abstract fun getTargetElevation(): Double
Gives the current target elevation, which is the vertical horizon-drone-target angle in radians.
Link copied to clipboard
@IntRange(from = 0)
abstract fun getTimestamp(): Long
Gives the timestamp of the provided target information, in milliseconds since epoch.
Link copied to clipboard
abstract fun isNewTarget(): Boolean
Tells whether this piece of target information concerns a new target that was sent before.