public class SolarAuv extends TelemetryFileTranslator
A single mission may be spread out across multiple files. The naming standard is YYYYMMDD-HHMMSS-VehicleID-MissionName-nnn-csv, where nnn is a fragment number for the mission. For the current purposes we don't try to concatenate missions-- we simply open each one separately.
The missions are saved in comma-separated-value format.
Modifier and Type | Field and Description |
---|---|
static int |
BOGUS_DISTANCE_IN_METERS
Used to filter out semi-obviously bogus position data.
|
static int |
DEPTH_INDEX |
static int |
GPS_VALID_INDEX |
static int |
HEADING_INDEX |
static int |
LATITUDE_INDEX |
static int |
LONGITUDE_INDEX |
static double |
MINIMUM_TIMESTEP_SECONDS
The minimum timestep--if telemetry data comes in more quickly than this, we
discard it.
|
static double |
MINUTE |
static int |
PITCH_INDEX |
static int |
RECNUM_INDEX |
static int |
ROLL_INDEX |
static int |
TIMESTAMP_INDEX |
static int |
YAW_INDEX |
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimum
GEO_ORIGIN
Constructor and Description |
---|
SolarAuv()
Used by GUI through TelemetryTranslatorInterface i/f
|
SolarAuv(String pMissionFile)
Creates a new instance of SolarAuv
|
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 RECNUM_INDEX
public static final int TIMESTAMP_INDEX
public static final int DEPTH_INDEX
public static final int HEADING_INDEX
public static final int LATITUDE_INDEX
public static final int LONGITUDE_INDEX
public static final int GPS_VALID_INDEX
public static final int ROLL_INDEX
public static final int PITCH_INDEX
public static final int YAW_INDEX
public static final double MINUTE
public static final int BOGUS_DISTANCE_IN_METERS
public static final double MINIMUM_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
- public double getTelemetrySampleRate()
TelemetryFileTranslator
getTelemetrySampleRate
in interface TelemetryTranslatorInterface
getTelemetrySampleRate
in class TelemetryFileTranslator