TargetTracker

interface TargetTracker : Peripheral

Target peripheral interface for Drones.

This peripheral allows to:

  • control whether user device/controller barometer and location are actively monitored and sent to the connected drone, in order to allow the latter to track the user and/or controller,
  • forward external target detection information to the drone, in order to allow the latter to track a given target,
  • configure the tracked target desired position (framing) in the video stream.

This peripheral can be obtained from a drone using:

drone.getPeripheral(TargetTracker.class)

See also

com.parrot.drone.groundsdk.device.peripheral.Peripheral.Provider

Types

Link copied to clipboard
abstract class FramingSetting : Setting
Target framing setting.
Link copied to clipboard
interface TargetDetectionInfo
Represents target detection information.
Link copied to clipboard
abstract class TargetTrajectory
Informs about tracked target trajectory.

Functions

Link copied to clipboard
abstract fun disableControllerTracking()
Disables tracking of the controller (user device or remote-control) as the current target.
Link copied to clipboard
abstract fun enableControllerTracking()
Enables tracking of the controller (user device or remote-control) as the current target.
Link copied to clipboard
abstract fun framing(): TargetTracker.FramingSetting
Gives access to the target framing setting.
Link copied to clipboard
abstract fun getTargetTrajectory(): TargetTracker.TargetTrajectory
Informs about tracked target trajectory.
Link copied to clipboard
abstract fun isControllerTrackingEnabled(): Boolean
Tells whether controller tracking is currently enabled.
Link copied to clipboard
abstract fun sendTargetDetectionInfo(@NonNull info: TargetTracker.TargetDetectionInfo)
Forwards external target detection information to the drone.