|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TelemetryDecoder
The TelemetryDecoder
class uses a TelemetryStream
to decode telemetry data from a spacecraft
telemetry data stream. The decoder presents a high-level interface
for telemetry data, allowing you to make queries on various useful
telemetry frame information without the having to resort to
manipulating bit fields. The methods of the enclosed TelemetryStream
may still be used to access the raw data.
Method Summary | |
---|---|
InstrumentData |
getData(int frame,
Instrument inst)
Gets the frame data for a specific instrument. |
Spacecraft |
getSpacecraft()
Gets the spacecraft detected by this decoder. |
TelemetryStream |
getStream()
Gets the telemetry stream used for data. |
long |
getTime(int frame)
Gets the start time of frame capture. |
boolean |
hasErrors(int frame)
Gets the frame error flag. |
Method Detail |
---|
TelemetryStream getStream()
long getTime(int frame)
frame
- the frame to return the time for in the range
[0..FRAMES-1].
boolean hasErrors(int frame) throws java.io.IOException
frame
- the frame to return the flag for in the range
[0..FRAMES-1].
java.io.IOException
- if an error occurred reading data from the
stream.Spacecraft getSpacecraft()
InstrumentData getData(int frame, Instrument inst) throws java.io.IOException
frame
- the frame to return data for in the range
[0..FRAMES-1].inst
- the instrument to return data for.
java.io.IOException
- if an error occurred reading the instrument
data from the stream.
|
Terrenus HRPT v2.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |