enum classafParrotSdk2::LedAnimation
sys::Obj sys::Enum afParrotSdk2::LedAnimation
@
Serializable { simple=true }
Pre-configured LED animation sequences.
- blinkGreen
- blinkGreenRed
- blinkOrange
- blinkRed
- blinkStandard
- doubleMissile
- fire
- frontLeftGreenOthersRed
- frontRightGreenOthersRed
- green
- leftGreenRightRed
- leftMissile
- leftRedRightGreen
- off
- rearLeftGreenOthersRed
- rearRightGreenOthersRed
- red
- rightMissile
- snakeGreenRed
- snakeRed
- standard
- blinkGreen
const static LedAnimation blinkGreen := ...
Alternates all LEDs between green and off.
- blinkGreenRed
const static LedAnimation blinkGreenRed := ...
Alternates all LEDs between red and green.
- blinkOrange
const static LedAnimation blinkOrange := ...
Alternates all LEDs between orange (red and green at the same time) and off.
- blinkRed
const static LedAnimation blinkRed := ...
Alternates all LEDs between red and off.
- blinkStandard
const static LedAnimation blinkStandard := ...
Alternates all LEDs between standard (front LEDs green and rear LEDs red) and off.
- defaultFrequency
const Float defaultFrequency
A default frequency for the animation.
- doubleMissile
const static LedAnimation doubleMissile := ...
Flashes the front LEDs orange and the rear LEDs red - both sides.
- fire
const static LedAnimation fire := ...
Flashes the front LEDs orange (red and green at the same time).
- fromStr
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
const static LedAnimation frontLeftGreenOthersRed := ...
Turns the front left LED green and the others red.
- frontRightGreenOthersRed
const static LedAnimation frontRightGreenOthersRed := ...
Turns the front right LED green and the others red.
- green
const static LedAnimation green := ...
Turns all LEDs green.
- leftGreenRightRed
const static LedAnimation leftGreenRightRed := ...
Turns the left LEDs green and the right LEDs red.
- leftMissile
const static LedAnimation leftMissile := ...
Flashes the front LED orange and the rear LED red - left side only.
- leftRedRightGreen
const static LedAnimation leftRedRightGreen := ...
Turns the left LEDs red and the right LEDs green.
- off
const static LedAnimation off := ...
Turns all LEDs off.
- rearLeftGreenOthersRed
const static LedAnimation rearLeftGreenOthersRed := ...
Turns the rear left LED green and the others red.
- rearRightGreenOthersRed
const static LedAnimation rearRightGreenOthersRed := ...
Turns the rear right LED green and the others red.
- red
const static LedAnimation red := ...
Turns all LEDs red.
- rightMissile
const static LedAnimation rightMissile := ...
Flashes the front LED orange and the rear LED red - right side only.
- snakeGreenRed
const static LedAnimation snakeGreenRed := ...
Rotates the green and red LEDs around the drone.
- snakeRed
const static LedAnimation snakeRed := ...
Rotates the red LED around the drone.
- standard
const static LedAnimation standard := ...
Turns the front LEDs green and the rear LEDs red.
- vals
const static LedAnimation[] vals := ...
List of LedAnimation values indexed by ordinal