public class SeaFox extends TelemetryFileTranslator
Modifier and Type | Field and Description |
---|---|
static int |
BOGUS_DISTANCE_IN_METERS
Used to filter out semi-obviously bogus position data.
|
static int |
GPS_HEADING_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
GPS_SPEED_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
GPS_VALID_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
LATITUDE_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
LONGITUDE_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
TIMESTAMP_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
static int |
VEHICLE_ID_INDEX
Index for column position of data element in the comma-separated value (CSV) input file
|
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimum
GEO_ORIGIN
Constructor and Description |
---|
SeaFox()
Used by GUI through TelemetryTranslatorInterface i/f
|
SeaFox(String pPathname)
Creates a new instance of SeaFox
|
Modifier and Type | Method and Description |
---|---|
com.bbn.openmap.LatLonPoint |
findCorrectedGeoCenter(com.bbn.openmap.LatLonPoint rawGeoCenter,
int bogusDistanceThreshold)
The second step in the filter process.
|
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[] args) |
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 final int TIMESTAMP_INDEX
public static final int VEHICLE_ID_INDEX
public static final int GPS_VALID_INDEX
public static final int LATITUDE_INDEX
public static final int LONGITUDE_INDEX
public static final int GPS_SPEED_INDEX
public static final int GPS_HEADING_INDEX
public static final int BOGUS_DISTANCE_IN_METERS
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 com.bbn.openmap.LatLonPoint findCorrectedGeoCenter(com.bbn.openmap.LatLonPoint rawGeoCenter, int bogusDistanceThreshold)
rawGeoCenter
- bogusDistanceThreshold
- LatLonPoint
public static void main(String[] args)
args
- public double getTelemetrySampleRate()
TelemetryFileTranslator
getTelemetrySampleRate
in interface TelemetryTranslatorInterface
getTelemetrySampleRate
in class TelemetryFileTranslator