ADIS16448_IMUSim

class wpilib.simulation.ADIS16448_IMUSim(imu: wpilib._wpilib.ADIS16448_IMU)

Bases: pybind11_object

Class to control a simulated ADIS16448 IMU.

Constructs from a ADIS16448_IMU object.

Parameters:

imu – ADIS16448_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.