Package IMU

Class IMUImportMananger

java.lang.Object
IMU.IMUImportMananger

public class IMUImportMananger extends Object
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 Details

    • NO_CSV_LOAD

      public static final int NO_CSV_LOAD
      Unable to load csv data. Probably a bad file path.
      See Also:
    • WRONG_FORMAT

      public static final int WRONG_FORMAT
      The file is in the wrong format.
      See Also:
  • Constructor Details

    • IMUImportMananger

      public IMUImportMananger(IMUControl imuControl)
  • Method Details

    • getName

      public String getName()
    • getIMULoadBar

      public ImportLoadBar 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

      public void setTextProgress(int N, int ofN, String name)
    • getProportyListener

      public PropertyChangeListener getProportyListener(IMU.IMUImport.ImportIMUThread saveDBThread)
    • getIMUDataBlock

      public IMUDataBlock getIMUDataBlock()
    • addDataToDataBlock

      public void addDataToDataBlock(AngleDataUnit dataUnit)
    • getImuControl

      public IMUControl getImuControl()