Class BodyKinematicsSequence<T extends TimedBodyKinematics>

java.lang.Object
com.irurueta.navigation.inertial.calibration.BodyKinematicsSequence<T>
Type Parameters:
T - a type of TimedBodyKinematics.
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

    Fields
    Modifier and Type
    Field
    Description
    private double
    X-coordinate of mean specific force during the static period happening right after this sequence was measured.
    private double
    Y-coordinate of mean specific force during the static period happening right after this sequence was measured.
    private double
    Z-coordinate of mean specific force during the static period happening right after this sequence was measured.
    private double
    X-coordinate of mean specific force during the static period happening right before this sequence was measured.
    private double
    Y-coordinate of mean specific force during the static period happening right before this sequence was measured.
    private double
    Z-coordinate of mean specific force during the static period happening right before this sequence was measured.
    private ArrayList<T>
    List of items.
    private static final long
    Serialization version.
    private ArrayList<T>
    Contains sorted list of items.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
    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.
    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 Type
    Method
    Description
    protected Object
    Makes a copy of this instance.
    private ArrayList<T>
    cloneList(List<T> list)
    Clones a list of TimedBodyKinematics.
    private static double
    convertAcceleration(com.irurueta.units.Acceleration acceleration)
    Converts an acceleration instance into its corresponding value expressed in meters per squared second.
    void
    Copies data of provided instance into this instance.
    void
    Copies this instance data into provided instance.
    boolean
    Checks if provided instance is a BodyKinematicsSequence2 having exactly the same contents as this instance.
    double
    Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured.
    double
    Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured.
    double
    Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured.
    com.irurueta.units.Acceleration
    Gets x-coordinate of mean specific force during the static period happening right after this sequence was measured.
    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.
    com.irurueta.units.Acceleration
    Gets y-coordinate of mean specific force during the static period happening right after this sequence was measured.
    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.
    com.irurueta.units.Acceleration
    Gets z-coordinate of mean specific force during the static period happening right after this sequence was measured.
    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.
    double
    Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured.
    double
    Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured.
    double
    Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured.
    com.irurueta.units.Acceleration
    Gets x-coordinate of mean specific force during the static period happening right before this sequence was measured.
    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.
    com.irurueta.units.Acceleration
    Gets y-coordinate of mean specific force during the static period happening right before this sequence was measured.
    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.
    com.irurueta.units.Acceleration
    Gets z-coordinate of mean specific force during the static period happening right before this sequence was measured.
    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.
    int
    Gets number of items in this sequence.
    Gets items in this sequence ordered by ascending timestamp.
    boolean
    Gets items in this sequence ordered by ascending timestamp.
    int
    Computes and returns hash code for this instance.
    void
    setAfterMeanFx(double afterMeanFx)
    Sets x-coordinate of mean specific force during the static period happening right after this sequence was measured.
    void
    setAfterMeanFy(double afterMeanFy)
    Sets y-coordinate of mean specific force during the static period happening right after this sequence was measured.
    void
    setAfterMeanFz(double afterMeanFz)
    Sets z-coordinate of mean specific force during the static period happening right after this sequence was measured.
    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.
    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.
    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.
    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.
    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.
    void
    setBeforeMeanFx(double beforeMeanFx)
    Sets x-coordinate of mean specific force during the static period happening right before this sequence was measured.
    void
    setBeforeMeanFy(double beforeMeanFy)
    Sets y-coordinate of mean specific force during the static period happening right before this sequence was measured.
    void
    setBeforeMeanFz(double beforeMeanFz)
    Sets z-coordinate of mean specific force during the static period happening right before this sequence was measured.
    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.
    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.
    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.
    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.
    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.
    void
    setItems(List<T> items)
    Sets list of items containing body kinematics to be kept into this sequence.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version. This is used to ensure compatibility of deserialization of permanently stored serialized instances.
      See Also:
    • items

      private ArrayList<T extends TimedBodyKinematics> items
      List of items. If items are provided unsorted, they are reordered by timestamp on getter method.
    • sortedItems

      private ArrayList<T extends TimedBodyKinematics> sortedItems
      Contains sorted list of items. This list is kept for performance reasons to reduce the amount of required sorting.
    • beforeMeanFx

      private double 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

      private double 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

      private double 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

      private double 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

      private double 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

      private double 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).
  • Constructor Details

    • BodyKinematicsSequence

      public BodyKinematicsSequence()
      Constructor.
    • BodyKinematicsSequence

      public BodyKinematicsSequence(List<T> items)
      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.
    • BodyKinematicsSequence

      public BodyKinematicsSequence(BodyKinematicsSequence<T> input)
      Constructor.
      Parameters:
      input - instance to copy data from.
  • Method Details

    • getSortedItems

      public boolean getSortedItems(List<T> result)
      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

      public List<T> 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

      public void setItems(List<T> items)
      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.
    • copyFrom

      public void copyFrom(BodyKinematicsSequence<T> input)
      Copies data of provided instance into this instance.
      Parameters:
      input - instance to copy data from.
    • copyTo

      public void copyTo(BodyKinematicsSequence<T> output)
      Copies this instance data into provided instance.
      Parameters:
      output - destination instance where data will be copied to.
    • equals

      public boolean equals(Object o)
      Checks if provided instance is a BodyKinematicsSequence2 having exactly the same contents as this instance.
      Overrides:
      equals in class Object
      Parameters:
      o - object to be compared.
      Returns:
      true if both objects are considered to be equal, false otherwise.
    • 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.
      Overrides:
      hashCode in class Object
      Returns:
      Hash code.
    • clone

      protected Object clone() throws CloneNotSupportedException
      Makes a copy of this instance.
      Overrides:
      clone in class Object
      Returns:
      a copy of this instance.
      Throws:
      CloneNotSupportedException - if clone fails for some reason.
    • cloneList

      private ArrayList<T> cloneList(List<T> list)
      Clones a list of TimedBodyKinematics.
      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.