Class ADXL362Sim

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

public class ADXL362Sim extends Object
Class to control a simulated ADXL362.
  • Constructor Details

    • ADXL362Sim

      public ADXL362Sim(ADXL362 device)
      Constructor.
      Parameters:
      device - The device to simulate
  • 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.