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_METERSUsed 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_SECONDSThe 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, timeFilterMinimumGEO_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  AVCLdocument 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, writeOutputFilepublic 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()
TelemetryTranslatorInterfacetoString in interface TelemetryTranslatorInterfacetoString in class TelemetryFileTranslatorpublic AVCL getDefaultAvclDocument()
AVCL document that lacks only the telemetry data.getDefaultAvclDocument in class TelemetryFileTranslatorAVCL telemetry mission specific to this type of vehiclepublic void parse()
parse in interface TelemetryTranslatorInterfaceparse in class TelemetryFileTranslatorpublic com.bbn.openmap.LatLonPoint findCorrectedGeoCenter(com.bbn.openmap.LatLonPoint rawGeoCenter,
                                                 int bogusDistanceThreshold)
rawGeoCenter - bogusDistanceThreshold - LatLonPointpublic static void main(String[] args)
args - public double getTelemetrySampleRate()
TelemetryFileTranslatorgetTelemetrySampleRate in interface TelemetryTranslatorInterfacegetTelemetrySampleRate in class TelemetryFileTranslator