UNPKG

extended-nmea

Version:

A TypeScript library for parsing NMEA0183-like sentences with support for custom and proprietary sentences.

15 lines (14 loc) 566 B
import { TalkerSentence } from "../../types/sentences/TalkerSentence"; import { RawNmeaSentence } from "../../types/sentences/RawNmeaSentence"; import { BroadPositionMode } from "./common"; export declare class VTG extends TalkerSentence { static readonly ID: string; constructor(data: RawNmeaSentence); get trackingAngle(): number; get magneticTrackingAngle(): number; get speed(): number; get speedKmh(): number; get posMode(): null | BroadPositionMode; get valid(): boolean; get invalidReason(): null | string; }