Skip to main content

canSendDroneGoHere

sabrobotix-suite


sabrobotix-suite / lib/roles / canSendDroneGoHere

Function: canSendDroneGoHere()

canSendDroneGoHere(role, options): boolean

Defined in: lib/roles.ts:144

Whether Go Here may be offered. The gateway refuses a vehicle that is not armed, and Go Here is not a takeoff: an aircraft on the ground stays there.

Parameters​

role​

string | null | undefined

options​

connected​

boolean

telemetryFresh​

boolean

armed​

boolean

airborne​

boolean

hasPosition​

boolean

commandActive​

boolean

Returns​

boolean