Class ImuData

java.lang.Object
  |
  +--ImuData

public class ImuData
extends java.lang.Object

Storage structure for the imu data records of a file.


Constructor Summary
ImuData(int len, java.lang.String imageID)
          Creates and initializes a ImuData object.
 
Method Summary
 void display()
          Used for testing only.
 int getDeltaThetaX(int num)
          Gets the records delta theta x
 int getDeltaThetaY(int num)
          Gets the records delta theta y
 int getDeltaThetaZ(int num)
          Gets the records delta theta z
 int getDeltaVX(int num)
          Gets the records delta v x
 int getDeltaVY(int num)
          Gets the records delta v y
 int getDeltaVZ(int num)
          Gets the records delta v z
 HeaderData getHeaderData()
          Gets the HeaderData object
 java.lang.String getImuID()
          Gets the imu ID
 int getTimeTag(int num)
          Gets the records time tag
 void setDeltaThetaX(int num, int val)
          Sets a records delta theta x
 void setDeltaThetaY(int num, int val)
          Sets a records delta theta y
 void setDeltaThetaZ(int num, int val)
          Sets a records delta theta z
 void setDeltaVX(int num, int val)
          Sets a records delta v x
 void setDeltaVY(int num, int val)
          Sets a records delta v y
 void setDeltaVZ(int num, int val)
          Sets a records delta v z
 void setHeaderValues(java.lang.String id, int c, int pass, int file, int len, int ver, int cnt, java.lang.String date, java.lang.String time)
          Sets the records HeaderData, method is just a wrapper function for method in HeaderData
 void setTimeTag(int num, int val)
          Sets a records time tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImuData

public ImuData(int len,
               java.lang.String imageID)
Creates and initializes a ImuData object.
Parameters:
len - the number of imu records
imageID - the image ID
Method Detail

display

public void display()
Used for testing only. Displays the fields of some of the imu records (records 5 and 25) to System.out

getImuID

public java.lang.String getImuID()
Gets the imu ID
Returns:
the imu ID

getHeaderData

public HeaderData getHeaderData()
Gets the HeaderData object
Returns:
the HeaderData

getTimeTag

public int getTimeTag(int num)
Gets the records time tag
Parameters:
num - the record number
Returns:
the time tag for the record

getDeltaThetaX

public int getDeltaThetaX(int num)
Gets the records delta theta x
Parameters:
num - the record number
Returns:
the delta theta x for the record

getDeltaThetaY

public int getDeltaThetaY(int num)
Gets the records delta theta y
Parameters:
num - the record number
Returns:
the delta theta y for the record

getDeltaThetaZ

public int getDeltaThetaZ(int num)
Gets the records delta theta z
Parameters:
num - the record number
Returns:
the delta theta z for the record

getDeltaVX

public int getDeltaVX(int num)
Gets the records delta v x
Parameters:
num - the record number
Returns:
the delta v x for the record

getDeltaVY

public int getDeltaVY(int num)
Gets the records delta v y
Parameters:
num - the record number
Returns:
the delta v y for the record

getDeltaVZ

public int getDeltaVZ(int num)
Gets the records delta v z
Parameters:
num - the record number
Returns:
the delta v z for the record

setHeaderValues

public void setHeaderValues(java.lang.String id,
                            int c,
                            int pass,
                            int file,
                            int len,
                            int ver,
                            int cnt,
                            java.lang.String date,
                            java.lang.String time)
Sets the records HeaderData, method is just a wrapper function for method in HeaderData
Parameters:
id - the header id
c - a constant value
pass - the image pass number
file - the file ID
len - the length of a single record
ver - the structure version of the file type
cnt - the number of records in the file
date - the tape date
time - the tape time

setTimeTag

public void setTimeTag(int num,
                       int val)
Sets a records time tag
Parameters:
val - the time tag value
num - the record number

setDeltaThetaX

public void setDeltaThetaX(int num,
                           int val)
Sets a records delta theta x
Parameters:
val - the delta theta x value
num - the record number

setDeltaThetaY

public void setDeltaThetaY(int num,
                           int val)
Sets a records delta theta y
Parameters:
val - the delta theta y value
num - the record number

setDeltaThetaZ

public void setDeltaThetaZ(int num,
                           int val)
Sets a records delta theta z
Parameters:
val - the delta theta z value
num - the record number

setDeltaVX

public void setDeltaVX(int num,
                       int val)
Sets a records delta v x
Parameters:
val - the delta v x value
num - the record number

setDeltaVY

public void setDeltaVY(int num,
                       int val)
Sets a records delta v y
Parameters:
val - the delta v y value
num - the record number

setDeltaVZ

public void setDeltaVZ(int num,
                       int val)
Sets a records delta v z
Parameters:
val - the delta v z value
num - the record number