Class ADXL345_I2C.AllAxes

java.lang.Object
org.wpilib.hardware.accelerometer.ADXL345_I2C.AllAxes
Enclosing class:
ADXL345_I2C

public static class ADXL345_I2C.AllAxes extends Object
Container type for accelerations from all axes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Acceleration along the X axis in g-forces.
    double
    Acceleration along the Y axis in g-forces.
    double
    Acceleration along the Z axis in g-forces.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public double x
      Acceleration along the X axis in g-forces.
    • y

      public double y
      Acceleration along the Y axis in g-forces.
    • z

      public double z
      Acceleration along the Z axis in g-forces.
  • Constructor Details

    • AllAxes

      public AllAxes()
      Default constructor.