Class BodyKinematicsSequence<T extends TimedBodyKinematics>
java.lang.Object
com.irurueta.navigation.inertial.calibration.BodyKinematicsSequence<T>
- Type Parameters:
T- a type ofTimedBodyKinematics.
- All Implemented Interfaces:
Serializable,Cloneable
public class BodyKinematicsSequence<T extends TimedBodyKinematics>
extends Object
implements Serializable, Cloneable
Contains a collection of items containing body kinematics
measurements ordered by the timestamp when the measurement was made.
Measurements within a sequence will be made while the device is
being moved.
Samples between sequences will be ignored because it will be assumed
that the device will be static.
Hence, during static periods, only the mean accelerations will be measured.
The mean accelerations during static periods will approximately match the
gravity versor expressed in body coordinates.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleX-coordinate of mean specific force during the static period happening right after this sequence was measured.private doubleY-coordinate of mean specific force during the static period happening right after this sequence was measured.private doubleZ-coordinate of mean specific force during the static period happening right after this sequence was measured.private doubleX-coordinate of mean specific force during the static period happening right before this sequence was measured.private doubleY-coordinate of mean specific force during the static period happening right before this sequence was measured.private doubleZ-coordinate of mean specific force during the static period happening right before this sequence was measured.List of items.private static final longSerialization version.Contains sorted list of items. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.BodyKinematicsSequence(double beforeMeanFx, double beforeMeanFy, double beforeMeanFz, double afterMeanFx, double afterMeanFy, double afterMeanFz) Constructor.Constructor.BodyKinematicsSequence(com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ, com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Constructor.BodyKinematicsSequence(List<T> items) Constructor.BodyKinematicsSequence(List<T> items, double beforeMeanFx, double beforeMeanFy, double beforeMeanFz, double afterMeanFx, double afterMeanFy, double afterMeanFz) BodyKinematicsSequence(List<T> items, com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ, com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Makes a copy of this instance.Clones a list ofTimedBodyKinematics.private static doubleconvertAcceleration(com.irurueta.units.Acceleration acceleration) Converts an acceleration instance into its corresponding value expressed in meters per squared second.voidcopyFrom(BodyKinematicsSequence<T> input) Copies data of provided instance into this instance.voidcopyTo(BodyKinematicsSequence<T> output) Copies this instance data into provided instance.booleanChecks if provided instance is a BodyKinematicsSequence2 having exactly the same contents as this instance.doubleGets x-coordinate of mean specific force during the static period happening right after this sequence was measured.doubleGets y-coordinate of mean specific force during the static period happening right after this sequence was measured.doubleGets z-coordinate of mean specific force during the static period happening right after this sequence was measured.com.irurueta.units.AccelerationGets x-coordinate of mean specific force during the static period happening right after this sequence was measured.voidgetAfterMeanSpecificForceX(com.irurueta.units.Acceleration result) Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured.com.irurueta.units.AccelerationGets y-coordinate of mean specific force during the static period happening right after this sequence was measured.voidgetAfterMeanSpecificForceY(com.irurueta.units.Acceleration result) Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured.com.irurueta.units.AccelerationGets z-coordinate of mean specific force during the static period happening right after this sequence was measured.voidgetAfterMeanSpecificForceZ(com.irurueta.units.Acceleration result) Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured.doubleGets x-coordinate of mean specific force during the static period happening right before this sequence was measured.doubleGets y-coordinate of mean specific force during the static period happening right before this sequence was measured.doubleGets z-coordinate of mean specific force during the static period happening right before this sequence was measured.com.irurueta.units.AccelerationGets x-coordinate of mean specific force during the static period happening right before this sequence was measured.voidgetBeforeMeanSpecificForceX(com.irurueta.units.Acceleration result) Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured.com.irurueta.units.AccelerationGets y-coordinate of mean specific force during the static period happening right before this sequence was measured.voidgetBeforeMeanSpecificForceY(com.irurueta.units.Acceleration result) Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured.com.irurueta.units.AccelerationGets z-coordinate of mean specific force during the static period happening right before this sequence was measured.voidgetBeforeMeanSpecificForceZ(com.irurueta.units.Acceleration result) Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured.intGets number of items in this sequence.Gets items in this sequence ordered by ascending timestamp.booleangetSortedItems(List<T> result) Gets items in this sequence ordered by ascending timestamp.inthashCode()Computes and returns hash code for this instance.voidsetAfterMeanFx(double afterMeanFx) Sets x-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanFy(double afterMeanFy) Sets y-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanFz(double afterMeanFz) Sets z-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanSpecificForceCoordinates(double afterMeanFx, double afterMeanFy, double afterMeanFz) Sets coordinates of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanSpecificForceCoordinates(com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Sets coordinates of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanSpecificForceX(com.irurueta.units.Acceleration afterMeanSpecificForceX) Sets x-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanSpecificForceY(com.irurueta.units.Acceleration afterMeanSpecificForceY) Sets y-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetAfterMeanSpecificForceZ(com.irurueta.units.Acceleration afterMeanSpecificForceZ) Sets z-coordinate of mean specific force during the static period happening right after this sequence was measured.voidsetBeforeMeanFx(double beforeMeanFx) Sets x-coordinate of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanFy(double beforeMeanFy) Sets y-coordinate of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanFz(double beforeMeanFz) Sets z-coordinate of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanSpecificForceCoordinates(double beforeMeanFx, double beforeMeanFy, double beforeMeanFz) Sets coordinates of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanSpecificForceCoordinates(com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ) Sets coordinates of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanSpecificForceX(com.irurueta.units.Acceleration beforeMeanSpecificForceX) Sets x-coordinate of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanSpecificForceY(com.irurueta.units.Acceleration beforeMeanSpecificForceY) Sets y-coordinate of mean specific force during the static period happening right before this sequence was measured.voidsetBeforeMeanSpecificForceZ(com.irurueta.units.Acceleration beforeMeanSpecificForceZ) Sets z-coordinate of mean specific force during the static period happening right before this sequence was measured.voidSets list of items containing body kinematics to be kept into this sequence.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version. This is used to ensure compatibility of deserialization of permanently stored serialized instances.- See Also:
-
items
List of items. If items are provided unsorted, they are reordered by timestamp on getter method. -
sortedItems
Contains sorted list of items. This list is kept for performance reasons to reduce the amount of required sorting. -
beforeMeanFx
private double beforeMeanFxX-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2). -
beforeMeanFy
private double beforeMeanFyY-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2). -
beforeMeanFz
private double beforeMeanFzZ-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2). -
afterMeanFx
private double afterMeanFxX-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2). -
afterMeanFy
private double afterMeanFyY-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2). -
afterMeanFz
private double afterMeanFzZ-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).
-
-
Constructor Details
-
BodyKinematicsSequence
public BodyKinematicsSequence()Constructor. -
BodyKinematicsSequence
Constructor.- Parameters:
items- list of items containing body kinematics to be kept into this sequence.
-
BodyKinematicsSequence
public BodyKinematicsSequence(double beforeMeanFx, double beforeMeanFy, double beforeMeanFz, double afterMeanFx, double afterMeanFy, double afterMeanFz) Constructor.- Parameters:
beforeMeanFx- x-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).beforeMeanFy- y-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).beforeMeanFz- z-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFx- x-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFy- y-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFz- z-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).
-
BodyKinematicsSequence
public BodyKinematicsSequence(com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ, com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Constructor.- Parameters:
beforeMeanSpecificForceX- x-coordinate of mean specific force during the static period happening right before this sequence was measured.beforeMeanSpecificForceY- y-coordinate of mean specific force during the static period happening right before this sequence was measured.beforeMeanSpecificForceZ- z-coordinate of mean specific force during the static period happening right before this sequence was measured.afterMeanSpecificForceX- x-coordinate of mean specific force during the static period happening right after this sequence was measured.afterMeanSpecificForceY- y-coordinate of mean specific force during the static period happening right after this sequence was measured.afterMeanSpecificForceZ- z-coordinate of mean specific force during the static period happening right after this sequence was measured.
-
BodyKinematicsSequence
public BodyKinematicsSequence(List<T> items, double beforeMeanFx, double beforeMeanFy, double beforeMeanFz, double afterMeanFx, double afterMeanFy, double afterMeanFz) - Parameters:
items- list of items containing body kinematics to be kept into this sequence.beforeMeanFx- x-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).beforeMeanFy- y-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).beforeMeanFz- z-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFx- x-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFy- y-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).afterMeanFz- z-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).
-
BodyKinematicsSequence
public BodyKinematicsSequence(List<T> items, com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ, com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Constructor.- Parameters:
items- list of items containing body kinematics to be kept into this sequence.beforeMeanSpecificForceX- x-coordinate of mean specific force during the static period happening right before this sequence was measured.beforeMeanSpecificForceY- y-coordinate of mean specific force during the static period happening right before this sequence was measured.beforeMeanSpecificForceZ- z-coordinate of mean specific force during the static period happening right before this sequence was measured.afterMeanSpecificForceX- x-coordinate of mean specific force during the static period happening right after this sequence was measured.afterMeanSpecificForceY- y-coordinate of mean specific force during the static period happening right after this sequence was measured.afterMeanSpecificForceZ- z-coordinate of mean specific force during the static period happening right after this sequence was measured.
-
-
Method Details
-
getSortedItems
Gets items in this sequence ordered by ascending timestamp.- Parameters:
result- instance where sorted items will be stored.- Returns:
- true if sorted items could be retrieved, false if no items are available.
-
getSortedItems
Gets items in this sequence ordered by ascending timestamp.- Returns:
- a new list containing sorted items or null if sorted items could not be retrieved..
-
setItems
Sets list of items containing body kinematics to be kept into this sequence.- Parameters:
items- items to be kept.
-
getItemsCount
public int getItemsCount()Gets number of items in this sequence.- Returns:
- number of items in this sequence.
-
getBeforeMeanFx
public double getBeforeMeanFx()Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- x-coordinate of mean specific force.
-
setBeforeMeanFx
public void setBeforeMeanFx(double beforeMeanFx) Sets x-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
beforeMeanFx- x-coordinate of mean specific force.
-
getBeforeMeanFy
public double getBeforeMeanFy()Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- y-coordinate of mean specific force.
-
setBeforeMeanFy
public void setBeforeMeanFy(double beforeMeanFy) Sets y-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
beforeMeanFy- y-coordinate of mean specific force.
-
getBeforeMeanFz
public double getBeforeMeanFz()Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- z-coordinate of mean specific force.
-
setBeforeMeanFz
public void setBeforeMeanFz(double beforeMeanFz) Sets z-coordinate of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
beforeMeanFz- z-coordinate of mean specific force.
-
setBeforeMeanSpecificForceCoordinates
public void setBeforeMeanSpecificForceCoordinates(double beforeMeanFx, double beforeMeanFy, double beforeMeanFz) Sets coordinates of mean specific force during the static period happening right before this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
beforeMeanFx- x-coordinate of mean specific force.beforeMeanFy- y-coordinate of mean specific force.beforeMeanFz- z-coordinate of mean specific force.
-
getBeforeMeanSpecificForceX
public void getBeforeMeanSpecificForceX(com.irurueta.units.Acceleration result) Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
result- x-coordinate of mean specific force.
-
getBeforeMeanSpecificForceX
public com.irurueta.units.Acceleration getBeforeMeanSpecificForceX()Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured.- Returns:
- x-coordinate of mean specific force.
-
setBeforeMeanSpecificForceX
public void setBeforeMeanSpecificForceX(com.irurueta.units.Acceleration beforeMeanSpecificForceX) Sets x-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
beforeMeanSpecificForceX- x-coordinate of mean specific force.
-
getBeforeMeanSpecificForceY
public void getBeforeMeanSpecificForceY(com.irurueta.units.Acceleration result) Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
result- y-coordinate of mean specific force.
-
getBeforeMeanSpecificForceY
public com.irurueta.units.Acceleration getBeforeMeanSpecificForceY()Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured.- Returns:
- y-coordinate of mean specific force.
-
setBeforeMeanSpecificForceY
public void setBeforeMeanSpecificForceY(com.irurueta.units.Acceleration beforeMeanSpecificForceY) Sets y-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
beforeMeanSpecificForceY- y-coordinate of mean specific force.
-
getBeforeMeanSpecificForceZ
public void getBeforeMeanSpecificForceZ(com.irurueta.units.Acceleration result) Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
result- z-coordinate of mean specific force.
-
getBeforeMeanSpecificForceZ
public com.irurueta.units.Acceleration getBeforeMeanSpecificForceZ()Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured.- Returns:
- z-coordinate of mean specific force.
-
setBeforeMeanSpecificForceZ
public void setBeforeMeanSpecificForceZ(com.irurueta.units.Acceleration beforeMeanSpecificForceZ) Sets z-coordinate of mean specific force during the static period happening right before this sequence was measured.- Parameters:
beforeMeanSpecificForceZ- z-coordinate of mean specific force.
-
setBeforeMeanSpecificForceCoordinates
public void setBeforeMeanSpecificForceCoordinates(com.irurueta.units.Acceleration beforeMeanSpecificForceX, com.irurueta.units.Acceleration beforeMeanSpecificForceY, com.irurueta.units.Acceleration beforeMeanSpecificForceZ) Sets coordinates of mean specific force during the static period happening right before this sequence was measured.- Parameters:
beforeMeanSpecificForceX- x-coordinate of mean specific force.beforeMeanSpecificForceY- y-coordinate of mean specific force.beforeMeanSpecificForceZ- z-coordinate of mean specific force.
-
getAfterMeanFx
public double getAfterMeanFx()Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- x-coordinate of mean specific force.
-
setAfterMeanFx
public void setAfterMeanFx(double afterMeanFx) Sets x-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
afterMeanFx- x-coordinate of mean specific force.
-
getAfterMeanFy
public double getAfterMeanFy()Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- y-coordinate of mean specific force.
-
setAfterMeanFy
public void setAfterMeanFy(double afterMeanFy) Sets y-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
afterMeanFy- y-coordinate of mean specific force.
-
getAfterMeanFz
public double getAfterMeanFz()Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Returns:
- z-coordinate of mean specific force.
-
setAfterMeanFz
public void setAfterMeanFz(double afterMeanFz) Sets z-coordinate of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
afterMeanFz- z-coordinate of mean specific force.
-
setAfterMeanSpecificForceCoordinates
public void setAfterMeanSpecificForceCoordinates(double afterMeanFx, double afterMeanFy, double afterMeanFz) Sets coordinates of mean specific force during the static period happening right after this sequence was measured. Expressed in meters per squared second (m/s^2).- Parameters:
afterMeanFx- x-coordinate of mean specific force.afterMeanFy- y-coordinate of mean specific force.afterMeanFz- z-coordinate of mean specific force.
-
getAfterMeanSpecificForceX
public void getAfterMeanSpecificForceX(com.irurueta.units.Acceleration result) Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
result- x-coordinate of mean specific force.
-
getAfterMeanSpecificForceX
public com.irurueta.units.Acceleration getAfterMeanSpecificForceX()Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured.- Returns:
- x-coordinate of mean specific force.
-
setAfterMeanSpecificForceX
public void setAfterMeanSpecificForceX(com.irurueta.units.Acceleration afterMeanSpecificForceX) Sets x-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
afterMeanSpecificForceX- x-coordinate of mean specific force.
-
getAfterMeanSpecificForceY
public void getAfterMeanSpecificForceY(com.irurueta.units.Acceleration result) Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
result- y-coordinate of mean specific force.
-
getAfterMeanSpecificForceY
public com.irurueta.units.Acceleration getAfterMeanSpecificForceY()Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured.- Returns:
- y-coordinate of mean specific force.
-
setAfterMeanSpecificForceY
public void setAfterMeanSpecificForceY(com.irurueta.units.Acceleration afterMeanSpecificForceY) Sets y-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
afterMeanSpecificForceY- y-coordinate of mean specific force.
-
getAfterMeanSpecificForceZ
public void getAfterMeanSpecificForceZ(com.irurueta.units.Acceleration result) Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
result- z-coordinate of mean specific force.
-
getAfterMeanSpecificForceZ
public com.irurueta.units.Acceleration getAfterMeanSpecificForceZ()Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured.- Returns:
- z-coordinate of mean specific force.
-
setAfterMeanSpecificForceZ
public void setAfterMeanSpecificForceZ(com.irurueta.units.Acceleration afterMeanSpecificForceZ) Sets z-coordinate of mean specific force during the static period happening right after this sequence was measured.- Parameters:
afterMeanSpecificForceZ- z-coordinate of mean specific force.
-
setAfterMeanSpecificForceCoordinates
public void setAfterMeanSpecificForceCoordinates(com.irurueta.units.Acceleration afterMeanSpecificForceX, com.irurueta.units.Acceleration afterMeanSpecificForceY, com.irurueta.units.Acceleration afterMeanSpecificForceZ) Sets coordinates of mean specific force during the static period happening right after this sequence was measured.- Parameters:
afterMeanSpecificForceX- x-coordinate of mean specific force.afterMeanSpecificForceY- y-coordinate of mean specific force.afterMeanSpecificForceZ- z-coordinate of mean specific force.
-
equals
Checks if provided instance is a BodyKinematicsSequence2 having exactly the same contents as this instance. -
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. -
clone
Makes a copy of this instance.- Overrides:
clonein classObject- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException- if clone fails for some reason.
-
cloneList
Clones a list ofTimedBodyKinematics.- Parameters:
list- list to be cloned.- Returns:
- cloned list.
-
convertAcceleration
private static double convertAcceleration(com.irurueta.units.Acceleration acceleration) Converts an acceleration instance into its corresponding value expressed in meters per squared second.- Parameters:
acceleration- an acceleration to be converted.- Returns:
- converted value.
-