public class ScanEagle extends TelemetryFileTranslator
There are multiple Scan Eagle file formats. This is just one that I found, from an Excel spreadsheet. Other possibilities include Cursor-on-target.
Modifier and Type | Field and Description |
---|---|
static int |
BOGUS_DISTANCE_IN_METERS
Used to filter out semi-obviously bogus position data.
|
static int |
GPS_ALTITUDE_INDEX |
static int |
HEADING_INDEX |
static int |
LATITUDE_INDEX |
static int |
LONGITUDE_INDEX |
static double |
MINIMUM_TIME_STEP |
static double |
MINUTE |
static int |
TIMESTAMP_INDEX |
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimum
GEO_ORIGIN
Constructor and Description |
---|
ScanEagle()
Creates a new instance of ScanEagle
|
ScanEagle(String pPathname)
Creates a new instance of Rascal
|
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)
Test case entry point.
|
void |
parse()
implements TelemetryTranslatorInterface
|
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 HEADING_INDEX
public static final int GPS_ALTITUDE_INDEX
public static final int LATITUDE_INDEX
public static final int LONGITUDE_INDEX
public static final double MINUTE
public static final double MINIMUM_TIME_STEP
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