Class FrameBodyKinematics
java.lang.Object
com.irurueta.navigation.inertial.calibration.FrameBodyKinematics
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
StandardDeviationFrameBodyKinematics
Contains a body kinematics measurement (accelerometer + gyroscope) along with
the corresponding frame (position, orientation and velocity) where the
kinematics measurement was made.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.irurueta.navigation.frames.ECEFFrameContains current body position, velocity (which will typically be zero) and orientation resolved around ECEF axes.private BodyKinematicsCurrent body kinematics measurement.private com.irurueta.navigation.frames.ECEFFrameContains body position, velocity (which will typically be zero) and orientation resolved around ECEF axes of previous IMU measurement.private static final longSerialization version.private doubleTime interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.FrameBodyKinematics(double timeInterval) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.ECEFFrame frame) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame, double timeInterval) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame, com.irurueta.units.Time timeInterval) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.NEDFrame frame) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame, double timeInterval) Constructor.FrameBodyKinematics(com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame, com.irurueta.units.Time timeInterval) Constructor.FrameBodyKinematics(BodyKinematics kinematics) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.ECEFFrame frame) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame, double timeInterval) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.ECEFFrame frame, com.irurueta.navigation.frames.ECEFFrame previousFrame, com.irurueta.units.Time timeInterval) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.NEDFrame frame) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame, double timeInterval) Constructor.FrameBodyKinematics(BodyKinematics kinematics, com.irurueta.navigation.frames.NEDFrame frame, com.irurueta.navigation.frames.NEDFrame previousFrame, com.irurueta.units.Time timeInterval) Constructor.Constructor.FrameBodyKinematics(com.irurueta.units.Time timeInterval) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Makes a copy of this instance.voidcopyFrom(FrameBodyKinematics input) Copies data of provided instance into this instance.voidcopyTo(FrameBodyKinematics output) Copies this instance data into provided instance.booleanequals(FrameBodyKinematics other) Checks if provided instance has exactly the same contents as this instance.booleanequals(FrameBodyKinematics other, double threshold) Checks if provided instance has contents similar to this instance up to provided threshold value.booleanChecks if provided object is a FrameBodyKinematics instance having exactly the same contents as this instance.com.irurueta.navigation.frames.ECEFFramegetFrame()Gets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to body kinematics measurement.Gets current body kinematics measurement.com.irurueta.navigation.frames.NEDFrameGets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to body kinematics measurement.booleangetNedFrame(com.irurueta.navigation.frames.NEDFrame result) Gets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to body kinematics measurement.com.irurueta.navigation.frames.ECEFFrameGets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to previous body kinematics measurement.com.irurueta.navigation.frames.NEDFrameGets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to previous body kinematics measurement.booleangetPreviousNedFrame(com.irurueta.navigation.frames.NEDFrame result) Gets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to previous body kinematics measurement.doubleGets time interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.com.irurueta.units.TimeGets time interval between IMU measurements used to obtain current frame and previous frame.voidgetTimeIntervalAsTime(com.irurueta.units.Time result) Gets time interval between IMU measurements used to obtain current frame and previous frame.inthashCode()Computes and returns hash code for this instance.voidsetFrame(com.irurueta.navigation.frames.ECEFFrame frame) Sets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to body kinematics measurement.voidsetKinematics(BodyKinematics kinematics) Sets current body kinematics measurement.voidsetNedFrame(com.irurueta.navigation.frames.NEDFrame nedFrame) Sets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to body kinematics measurement.voidsetPreviousFrame(com.irurueta.navigation.frames.ECEFFrame previousFrame) Sets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to previous body kinematics measurement.voidsetPreviousNedFrame(com.irurueta.navigation.frames.NEDFrame previousNedFrame) Sets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to previous body kinematics measurement.voidsetTimeInterval(double timeInterval) Sets time interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.voidsetTimeInterval(com.irurueta.units.Time timeInterval) Sets time interval between IMU measurements used to obtain current frame and previous frame.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version. This is used to ensure compatibility of deserialization of permanently stored serialized instances.- See Also:
-
kinematics
Current body kinematics measurement. Contains accelerometer and gyroscope measurements. -
frame
private com.irurueta.navigation.frames.ECEFFrame frameContains current body position, velocity (which will typically be zero) and orientation resolved around ECEF axes. -
previousFrame
private com.irurueta.navigation.frames.ECEFFrame previousFrameContains body position, velocity (which will typically be zero) and orientation resolved around ECEF axes of previous IMU measurement. -
timeInterval
private double timeIntervalTime interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.
-
-
Constructor Details
-
FrameBodyKinematics
public FrameBodyKinematics()Constructor. -
FrameBodyKinematics
public FrameBodyKinematics(double timeInterval) Constructor.- Parameters:
timeInterval- time interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.- Throws:
IllegalArgumentException- if provided value is negative.
-
FrameBodyKinematics
public FrameBodyKinematics(com.irurueta.units.Time timeInterval) Constructor.- Parameters:
timeInterval- time interval between IMU measurements used to obtain current frame and previous frame.- Throws:
IllegalArgumentException- if provided value is negative.
-
-
Method Details
-
getKinematics
Gets current body kinematics measurement. Contains accelerometer and gyroscope measurements.- Returns:
- current body kinematics measurement.
-
getFrame
public com.irurueta.navigation.frames.ECEFFrame getFrame()Gets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to body kinematics measurement.- Returns:
- current ECEF frame associated to body kinematics measurement or null if not available.
-
getNedFrame
public com.irurueta.navigation.frames.NEDFrame getNedFrame()Gets current body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to body kinematics measurement.- Returns:
- current NED frame associated to body kinematics measurement or null if not available.
-
getPreviousFrame
public com.irurueta.navigation.frames.ECEFFrame getPreviousFrame()Gets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around ECEF axes associated to previous body kinematics measurement.- Returns:
- previous ECEF frame associated to previous body kinematics measurement or null if not available.
-
getPreviousNedFrame
public com.irurueta.navigation.frames.NEDFrame getPreviousNedFrame()Gets previous body position (which will typically remain constant), velocity (which will typically be zero) and orientation (which usually changes with each measurement to perform calibration of a single device) resolved around NED axes associated to previous body kinematics measurement.- Returns:
- previous NED frame associated to previous body kinematics measurement or null if not available.
-
getTimeInterval
public double getTimeInterval()Gets time interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.- Returns:
- time interval expressed in seconds (s) between IMU measurements.
-
setTimeInterval
public void setTimeInterval(double timeInterval) Sets time interval expressed in seconds (s) between IMU measurements used to obtain current frame and previous frame.- Parameters:
timeInterval- time interval expressed in seconds (s) between IMU measurements.- Throws:
IllegalArgumentException- if provided value is negative.
-
getTimeIntervalAsTime
public com.irurueta.units.Time getTimeIntervalAsTime()Gets time interval between IMU measurements used to obtain current frame and previous frame.- Returns:
- time interval between IMU measurements.
-
getTimeIntervalAsTime
public void getTimeIntervalAsTime(com.irurueta.units.Time result) Gets time interval between IMU measurements used to obtain current frame and previous frame.- Parameters:
result- instance where result will be stored.
-
setTimeInterval
public void setTimeInterval(com.irurueta.units.Time timeInterval) Sets time interval between IMU measurements used to obtain current frame and previous frame.- Parameters:
timeInterval- time interval between IMU measurements to be set.- Throws:
IllegalArgumentException- if provided value is negative.
-
hashCode
public int hashCode()Computes and returns hash code for this instance. Hash codes are almost unique values that are useful for fast classification and storage of objects in collections. -
equals
Checks if provided object is a FrameBodyKinematics instance having exactly the same contents as this instance. -
clone
Makes a copy of this instance.- Overrides:
clonein classObject- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException- if clone fails for some reason.
-