ADIS16470_IMUSim

class wpilib.simulation.ADIS16470_IMUSim(imu: wpilib._wpilib.ADIS16470_IMU)

Bases: pybind11_builtins.pybind11_object

Class to control a simulated ADIS16470 IMU.

Constructs from a ADIS16470_IMU object.

Parameters

imu – ADIS16470_IMU to simulate

setAccelX(accel: meters_per_second_squared) None

Sets the X axis acceleration.

Parameters

accel – The acceleration.

setAccelY(accel: meters_per_second_squared) None

Sets the Y axis acceleration.

Parameters

accel – The acceleration.

setAccelZ(accel: meters_per_second_squared) None

Sets the Z axis acceleration.

Parameters

accel – The acceleration.

setGyroAngleX(angle: degrees) None

Sets the X axis angle (CCW positive).

Parameters

angle – The angle.

setGyroAngleY(angle: degrees) None

Sets the Y axis angle (CCW positive).

Parameters

angle – The angle.

setGyroAngleZ(angle: degrees) None

Sets the Z axis angle (CCW positive).

Parameters

angle – The angle.

setGyroRateX(angularRate: degrees_per_second) None

Sets the X axis angular rate (CCW positive).

Parameters

angularRate – The angular rate.

setGyroRateY(angularRate: degrees_per_second) None

Sets the Y axis angular rate (CCW positive).

Parameters

angularRate – The angular rate.

setGyroRateZ(angularRate: degrees_per_second) None

Sets the Z axis angular rate (CCW positive).

Parameters

angularRate – The angular rate.