public class Capsule extends TelemetryFileTranslator
The data consists of text fields, separated by whitespace commas, with each field in a particular order in the line. Datatypes for each column are defined by their "index" in the constants below.
| Modifier and Type | Field and Description | 
|---|---|
| static int | CLOCK_INDEX | 
| static int | PHI_INDEX | 
| static int | PSI_INDEX | 
| static int | THETA_INDEX | 
| static int | X_INDEX | 
| static int | Y_INDEX | 
| static int | Z_INDEX | 
avclDocument, centerCoordUTM, factory, fileWriter, filterOnTime, fis, geoOriginLatLon, latLonOffset, metadata, offsetCoordUTM, pathname, projectGeoOriginLatLon, sysoutPW, timeFilterMinimumGEO_ORIGIN| Constructor and Description | 
|---|
| Capsule()Used by GUI through TelemetryTranslatorInterface i/f | 
| Capsule(String pPathname)Creates a new instance of Capsule AVCL translator | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
| 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 CLOCK_INDEX
public static final int X_INDEX
public static final int Y_INDEX
public static final int Z_INDEX
public static final int PSI_INDEX
public static final int THETA_INDEX
public static final int PHI_INDEX
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 static void main(String[] args)
args - public double getTelemetrySampleRate()
TelemetryFileTranslatorgetTelemetrySampleRate in interface TelemetryTranslatorInterfacegetTelemetrySampleRate in class TelemetryFileTranslator