Package IMU
Class IMUImportMananger
java.lang.Object
IMU.IMUImportMananger
Import IMU data from .csv. File must be in the following format:
rows of:
time (MATLAB datenum),heading, pitch, roll --format -all in radians: Note: the PAMGAURD format for 3D IMU angles is:
Bearing- 0==north, 90==east 180=south, 270==west
Pitch- 90=-g, 0=0g, -90=g
Tilt 0->180 -camera turning towards left to upside down 0->-180 camera turning right to upside down
- Author:
- Jamie Macaulay
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Unable to load csv data.static final int
The file is in the wrong format. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataToDataBlock
(AngleDataUnit dataUnit) protected void
End the current import.getName()
getProportyListener
(IMU.IMUImport.ImportIMUThread saveDBThread) void
setIMULoadIntermediate
(boolean intermediate) Set whether the load progress is intermediatevoid
setLoadProgress
(int prog) void
setTextProgress
(int N, int ofN, String name) protected void
startImport
(String csvFile) Starts the process of loading a .csv file, converting to an IMU data unit and then saving to database.protected void
updateLoadBar
(IMU.IMUImport.ImportIMUThread importCSVthread)
-
Field Details
-
Constructor Details
-
Method Details
-
getName
-
startImport
Starts the process of loading a .csv file, converting to an IMU data unit and then saving to database.- Parameters:
csvFile
-
-
endImport
End the current import. -
getIMULoadBar
-
setIMULoadIntermediate
public void setIMULoadIntermediate(boolean intermediate) Set whether the load progress is intermediate- Parameters:
intermediate
- . true of load progress is intermediate.
-
updateLoadBar
protected void updateLoadBar(IMU.IMUImport.ImportIMUThread importCSVthread) -
setLoadProgress
public void setLoadProgress(int prog) -
setTextProgress
-
getProportyListener
-
getIMUDataBlock
-
addDataToDataBlock
-
getImuControl
-