Skip to main content

canActivateDroneRtl

sabrobotix-suite


sabrobotix-suite / lib/roles / canActivateDroneRtl

Function: canActivateDroneRtl()

canActivateDroneRtl(role, options): boolean

Defined in: lib/roles.ts:170

Whether RTL may be offered. Only from the air: on the ground the mode has nothing to return from, and the gateway refuses it.

Parameters​

role​

string | null | undefined

options​

connected​

boolean

telemetryFresh​

boolean

airborne​

boolean

commandActive​

boolean

Returns​

boolean