MPIAction
public struct MPIAction : Codable
MPIAction
represents the action to be performed in a specific MPIInstruction
-
An optional type of the
MPIAction
- Example:
TakeVortex
Declaration
Swift
public let type: MPIActionType?
- Example:
-
If the type is
Turn
, there is also a bearing type of theMPIAction
; otherwise, bearing type is nil.- Example:
Left
Declaration
Swift
public let bearing: MPIBearingType?
- Example:
-
referencePosition has no use cases for now.
Note
referencePosition serves as a placeholder for instruction improvements.Declaration
Swift
public let referencePosition: String?