public class Remus extends TelemetryFileTranslator
There are multiple Remus file formats. This is just one that I found, from an Excel spreadsheet. Presumably the data can be exported in multiple formats from MATLAB.
Modifier and Type | Field and Description |
---|---|
static int |
BOGUS_DISTANCE_IN_METERS
Used to filter out semi-obviously bogus position data.
|
static int |
DAYS_SINCE_1970_INDEX |
static double |
DEFAULT_TIMESTEP_SECONDS
The minimum timestep--if telemetry data comes in more quickly than this, we
discard it.
|
static int |
DEPTH_INDEX |
static int |
HEADING_INDEX |
static int |
LATITUDE_INDEX |
static int |
LONGITUDE_INDEX |
static double |
MINUTE |
static int |
TIME_INDEX |
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimum
GEO_ORIGIN
Constructor and Description |
---|
Remus()
Creates a new instance of Remus
|
Remus(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()
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 DEPTH_INDEX
public static final int HEADING_INDEX
public static final int TIME_INDEX
public static final int DAYS_SINCE_1970_INDEX
public static final int LATITUDE_INDEX
public static final int LONGITUDE_INDEX
public static final double MINUTE
public static final int BOGUS_DISTANCE_IN_METERS
public static final double DEFAULT_TIMESTEP_SECONDS
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
- command line arguments if anypublic double getTelemetrySampleRate()
TelemetryFileTranslator
getTelemetrySampleRate
in interface TelemetryTranslatorInterface
getTelemetrySampleRate
in class TelemetryFileTranslator