WPILibC++ 2024.3.2
frc::sim::ADIS16448_IMUSim Class Reference

Class to control a simulated ADIS16448 IMU. More...

#include <frc/simulation/ADIS16448_IMUSim.h>

Public Member Functions

 ADIS16448_IMUSim (const ADIS16448_IMU &imu)
 Constructs from a ADIS16448_IMU object. More...
 
void SetGyroAngleX (units::degree_t angle)
 Sets the X axis angle (CCW positive). More...
 
void SetGyroAngleY (units::degree_t angle)
 Sets the Y axis angle (CCW positive). More...
 
void SetGyroAngleZ (units::degree_t angle)
 Sets the Z axis angle (CCW positive). More...
 
void SetGyroRateX (units::degrees_per_second_t angularRate)
 Sets the X axis angular rate (CCW positive). More...
 
void SetGyroRateY (units::degrees_per_second_t angularRate)
 Sets the Y axis angular rate (CCW positive). More...
 
void SetGyroRateZ (units::degrees_per_second_t angularRate)
 Sets the Z axis angular rate (CCW positive). More...
 
void SetAccelX (units::meters_per_second_squared_t accel)
 Sets the X axis acceleration. More...
 
void SetAccelY (units::meters_per_second_squared_t accel)
 Sets the Y axis acceleration. More...
 
void SetAccelZ (units::meters_per_second_squared_t accel)
 Sets the Z axis acceleration. More...
 

Detailed Description

Class to control a simulated ADIS16448 IMU.

Constructor & Destructor Documentation

◆ ADIS16448_IMUSim()

frc::sim::ADIS16448_IMUSim::ADIS16448_IMUSim ( const ADIS16448_IMU imu)
explicit

Constructs from a ADIS16448_IMU object.

Parameters
imuADIS16448_IMU to simulate

Member Function Documentation

◆ SetAccelX()

void frc::sim::ADIS16448_IMUSim::SetAccelX ( units::meters_per_second_squared_t  accel)

Sets the X axis acceleration.

Parameters
accelThe acceleration.

◆ SetAccelY()

void frc::sim::ADIS16448_IMUSim::SetAccelY ( units::meters_per_second_squared_t  accel)

Sets the Y axis acceleration.

Parameters
accelThe acceleration.

◆ SetAccelZ()

void frc::sim::ADIS16448_IMUSim::SetAccelZ ( units::meters_per_second_squared_t  accel)

Sets the Z axis acceleration.

Parameters
accelThe acceleration.

◆ SetGyroAngleX()

void frc::sim::ADIS16448_IMUSim::SetGyroAngleX ( units::degree_t  angle)

Sets the X axis angle (CCW positive).

Parameters
angleThe angle.

◆ SetGyroAngleY()

void frc::sim::ADIS16448_IMUSim::SetGyroAngleY ( units::degree_t  angle)

Sets the Y axis angle (CCW positive).

Parameters
angleThe angle.

◆ SetGyroAngleZ()

void frc::sim::ADIS16448_IMUSim::SetGyroAngleZ ( units::degree_t  angle)

Sets the Z axis angle (CCW positive).

Parameters
angleThe angle.

◆ SetGyroRateX()

void frc::sim::ADIS16448_IMUSim::SetGyroRateX ( units::degrees_per_second_t  angularRate)

Sets the X axis angular rate (CCW positive).

Parameters
angularRateThe angular rate.

◆ SetGyroRateY()

void frc::sim::ADIS16448_IMUSim::SetGyroRateY ( units::degrees_per_second_t  angularRate)

Sets the Y axis angular rate (CCW positive).

Parameters
angularRateThe angular rate.

◆ SetGyroRateZ()

void frc::sim::ADIS16448_IMUSim::SetGyroRateZ ( units::degrees_per_second_t  angularRate)

Sets the Z axis angular rate (CCW positive).

Parameters
angularRateThe angular rate.

The documentation for this class was generated from the following file: