public class GpggaParser extends TelemetryFileTranslator
Modifier and Type | Field and Description |
---|---|
static String |
exampleString
For testing
|
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimum
GEO_ORIGIN
Constructor and Description |
---|
GpggaParser()
Used by GUI through TelemetryTranslatorInterface i/f
|
GpggaParser(String pPathname)
Creates a new instance of GpggaParser
|
Modifier and Type | Method and Description |
---|---|
AVCL |
getDefaultAvclDocument()
Creates a mostly-filled-out
AVCL document that lacks only the telemetry data. |
double |
getTelemetrySampleRate()
Accept data no more frequently than this
|
static void |
main(String[] arguments)
Test case entry point.
|
void |
parse()
After the constructor has been called, we've created a file writer that we can
send events to.
|
String |
toString()
Returns a string description of the translator, suitable for user
viewing in GUIs.
|
addMetadataEntry, endDocument, getAvclDocument, getImportStartTime, getImportStopTime, getMonthName, getSignificantDigits, getSysOut, getTimeFilterMinimum, latLongToXY, latLongToXY, setFilterOnTime, setImportStartTime, setImportStopTime, setInputFileName, setMetadata, setSysOut, setTimeFilterMinimum, startDocument, startDocument, sysOutPrintln, sysOutPrintln, writeOutputFile
public static String exampleString
public GpggaParser()
public String toString()
TelemetryTranslatorInterface
toString
in interface TelemetryTranslatorInterface
toString
in class TelemetryFileTranslator
public AVCL getDefaultAvclDocument()
AVCL
document that lacks only the telemetry data.getDefaultAvclDocument
in class TelemetryFileTranslator
AVCL
telemetry mission specific to this type of vehiclepublic void parse()
parse
in interface TelemetryTranslatorInterface
parse
in class TelemetryFileTranslator
public static void main(String[] arguments)
arguments
- command line arguments if anypublic double getTelemetrySampleRate()
TelemetryFileTranslator
getTelemetrySampleRate
in interface TelemetryTranslatorInterface
getTelemetrySampleRate
in class TelemetryFileTranslator