Class ADXL345Sim

java.lang.Object
edu.wpi.first.wpilibj.simulation.ADXL345Sim

public class ADXL345Sim
extends Object
Class to control a simulated ADXL345.
  • Constructor Details

  • Method Details

    • setX

      public void setX​(double accel)
      Sets the X acceleration.
      Parameters:
      accel - The X acceleration.
    • setY

      public void setY​(double accel)
      Sets the Y acceleration.
      Parameters:
      accel - The Y acceleration.
    • setZ

      public void setZ​(double accel)
      Sets the Z acceleration.
      Parameters:
      accel - The Z acceleration.