Mode

enum Mode

Follow-me operating mode.

Entries

Link copied to clipboard

Mode instructing the drone to only track the position of the target, regardless of its orientation or any change in its direction. The drone will move so that the north-drone-target angle and the distance to the target both remain constant.

Link copied to clipboard

Mode instructing the drone to both track the target position and changes in the direction of the target, relatively to the initial direction of the target (that is, the direction the target had when the interface was activated or after manually moving the drone, using any of setPitch, setRoll or setVerticalSpeed methods). The drone will move so that the angle formed by the target direction vector, and the drone-target vector remains constant.

Link copied to clipboard

Mode instructing the drone to both track the target position and changes in the direction of the target, as if it was held by the target by a leash.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.