Type alias DataParserOptions

DataParserOptions: {
    fields?: {
        gps?: string[];
        main?: string[];
        slow?: string[];
    };
}

Type declaration

  • Optional fields?: {
        gps?: string[];
        main?: string[];
        slow?: string[];
    }

    If present, each property sets the list of optional fields to be included in the fields map for the corresponding frame type. Any omitted properties will include all fields.

    Example

    const options = {
    fields: {
    // Only include `rcCommand[0]` through `rcCommand[3]` in main frames
    main: ['rcCommand'],
    // Include all fields in slow frames
    slow: undefined,
    // Do not include any optional fields in gps frames
    gps: [],
    },
    };
    • Optional gps?: string[]
    • Optional main?: string[]
    • Optional slow?: string[]

Generated using TypeDoc