ADXL362Sim

class wpilib.simulation.ADXL362Sim(accel: wpilib._wpilib.ADXL362)

Bases: pybind11_object

Class to control a simulated ADXRS450 gyroscope.

Constructs from a ADXL362 object.

Parameters:

accel – ADXL362 accel to simulate

setX(accel: float) None

Sets the X acceleration.

Parameters:

accel – The X acceleration.

setY(accel: float) None

Sets the Y acceleration.

Parameters:

accel – The Y acceleration.

setZ(accel: float) None

Sets the Z acceleration.

Parameters:

accel – The Z acceleration.