|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.DataRecorderLogParser
public class DataRecorderLogParser
Parser for extracting logged data from files created by the DataRecorder.
| Constructor Summary | |
|---|---|
DataRecorderLogParser(InputStream logStream)
Constructor with a stream pointing to the log file. |
|
| Method Summary | |
|---|---|
double[][] |
getCommandedCartesianPosition(int measurementIndex)
Reads commanded Cartesian position values from the log file. |
double[][] |
getMeasuredCartesianPosition(int measurementIndex)
Reads measured Cartesian position values from the log file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataRecorderLogParser(InputStream logStream)
logStream - The stream for the log file. Needs to point to the beginning of the file.| Method Detail |
|---|
public double[][] getMeasuredCartesianPosition(int measurementIndex)
throws IOException
measurementIndex - The index of the measurement. This index starts from 1, when a measurement is added to the
DataRecorder by the DataRecorder.addCurrentCartesianPositionXYZ() method, and is incremented
if the same measurement is added again.
IOException - If an IO operation fails during the parsing.
public double[][] getCommandedCartesianPosition(int measurementIndex)
throws IOException
measurementIndex - The index of the measurement. This index starts from 1, when a measurement is added to the
DataRecorder by the DataRecorder.addCommandedCartesianPositionXYZ() method, and is incremented
if the same measurement is added again.
IOException - If an IO operation fails during the parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||