Skip to main content

ModelX device

class ModelXDevice

Description: Model X aircraft equipment

class ModelXDevice(val id: Int) : IAutelDroneDevice {

// Aircraft connection status
private var isConnect = false

// Proto protocol object : setting communication protocol layer for the device
private var protoProtocol: ProtoProtocol? = null

// Key management object : providing related APIs for setting, obtaining and controlling
private var keyManager: IKeyManager? = null

// Album management : providing APIs related to setting/getting album storage location, updating album files.
private var albumManager: IAlbumManager? = null

// waypoint task interface : providing APIs related to waypoint mission like starting/ending mission,setting listener to mission
private var waypointMissionManager: IMissionManager? = null

// Smart Tracking Mode
private var trackMissionManager: ITrackMissionManager? = null

// Aircraft Capability Set Management Class
private var abilitySetManager: IAbilitySetManager? = null

// Monitor state cache management class
private var statesCacheManager: IStatesCacheManager? = null

// drone state bean with id
private val machineBean: DroneStateMachineBean = DroneStateMachineBean(id)


}

Description: ModelXDevice property class