enum classafParrotSdk2::LedAnimation

sys::Obj
  sys::Enum
    afParrotSdk2::LedAnimation

@Serializable { simple=true }

Pre-configured LED animation sequences.

blinkGreen

Source

const static LedAnimation blinkGreen := ...

Alternates all LEDs between green and off.

blinkGreenRed

Source

const static LedAnimation blinkGreenRed := ...

Alternates all LEDs between red and green.

blinkOrange

Source

const static LedAnimation blinkOrange := ...

Alternates all LEDs between orange (red and green at the same time) and off.

blinkRed

Source

const static LedAnimation blinkRed := ...

Alternates all LEDs between red and off.

blinkStandard

Source

const static LedAnimation blinkStandard := ...

Alternates all LEDs between standard (front LEDs green and rear LEDs red) and off.

defaultFrequency

Source

const Float defaultFrequency

A default frequency for the animation.

doubleMissile

Source

const static LedAnimation doubleMissile := ...

Flashes the front LEDs orange and the rear LEDs red - both sides.

fire

Source

const static LedAnimation fire := ...

Flashes the front LEDs orange (red and green at the same time).

fromStr

Source

static new fromStr(Str name, Bool checked := true)

Return the LedAnimation instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

frontLeftGreenOthersRed

Source

const static LedAnimation frontLeftGreenOthersRed := ...

Turns the front left LED green and the others red.

frontRightGreenOthersRed

Source

const static LedAnimation frontRightGreenOthersRed := ...

Turns the front right LED green and the others red.

green

Source

const static LedAnimation green := ...

Turns all LEDs green.

leftGreenRightRed

Source

const static LedAnimation leftGreenRightRed := ...

Turns the left LEDs green and the right LEDs red.

leftMissile

Source

const static LedAnimation leftMissile := ...

Flashes the front LED orange and the rear LED red - left side only.

leftRedRightGreen

Source

const static LedAnimation leftRedRightGreen := ...

Turns the left LEDs red and the right LEDs green.

off

Source

const static LedAnimation off := ...

Turns all LEDs off.

rearLeftGreenOthersRed

Source

const static LedAnimation rearLeftGreenOthersRed := ...

Turns the rear left LED green and the others red.

rearRightGreenOthersRed

Source

const static LedAnimation rearRightGreenOthersRed := ...

Turns the rear right LED green and the others red.

red

Source

const static LedAnimation red := ...

Turns all LEDs red.

rightMissile

Source

const static LedAnimation rightMissile := ...

Flashes the front LED orange and the rear LED red - right side only.

snakeGreenRed

Source

const static LedAnimation snakeGreenRed := ...

Rotates the green and red LEDs around the drone.

snakeRed

Source

const static LedAnimation snakeRed := ...

Rotates the red LED around the drone.

standard

Source

const static LedAnimation standard := ...

Turns the front LEDs green and the rear LEDs red.

vals

Source

const static LedAnimation[] vals := ...

List of LedAnimation values indexed by ordinal