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
Modifier and TypeFieldDescriptionstatic final int
Unable to load csv data.static final int
The file is in the wrong format. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataToDataBlock
(AngleDataUnit dataUnit) 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)
-
Field Details
-
NO_CSV_LOAD
public static final int NO_CSV_LOADUnable to load csv data. Probably a bad file path.- See Also:
-
WRONG_FORMAT
public static final int WRONG_FORMATThe file is in the wrong format.- See Also:
-
-
Constructor Details
-
IMUImportMananger
-
-
Method Details
-
getName
-
getIMULoadBar
-
setIMULoadIntermediate
public void setIMULoadIntermediate(boolean intermediate) Set whether the load progress is intermediate- Parameters:
intermediate
- . true of load progress is intermediate.
-
setLoadProgress
public void setLoadProgress(int prog) -
setTextProgress
-
getProportyListener
-
getIMUDataBlock
-
addDataToDataBlock
-
getImuControl
-