public class IMUImport
extends java.lang.Object
Constructor and Description |
---|
IMUImport(IMUImportMananger importCSVMethod) |
Modifier and Type | Method and Description |
---|---|
AngleDataUnit |
createDataUnit(java.util.ArrayList<java.lang.Double> imuData)
Create a data unit from input Array:
|
java.lang.Integer |
getErrorCode()
Get the error code for the import IMU thread.
|
java.util.ArrayList<java.util.ArrayList<java.lang.Double>> |
importcsvData(java.lang.String file)
Import the data form the .csv file into a 2D ArrayList.
|
boolean |
isDataFormatOK(java.util.ArrayList<java.lang.Double> imuData) |
IMU.IMUImport.ImportIMUThread |
newThread(java.lang.String csvFile) |
int |
saveToDB() |
public IMUImport(IMUImportMananger importCSVMethod)
public boolean isDataFormatOK(java.util.ArrayList<java.lang.Double> imuData)
public java.util.ArrayList<java.util.ArrayList<java.lang.Double>> importcsvData(java.lang.String file)
file:
- public int saveToDB()
public IMU.IMUImport.ImportIMUThread newThread(java.lang.String csvFile)
public java.lang.Integer getErrorCode()
public AngleDataUnit createDataUnit(java.util.ArrayList<java.lang.Double> imuData)
imuData
- [0]=time (matlab datenum); [1] heading (degrees) [2] pitch (degrees) [3] roll degrees.