Browse Source

uncrustify libraries/AP_IMU/IMU.h

mission-4.1.18
uncrustify 13 years ago committed by Pat Hickey
parent
commit
5601c52c46
  1. 12
      libraries/AP_IMU/IMU.h

12
libraries/AP_IMU/IMU.h

@ -69,20 +69,26 @@ public: @@ -69,20 +69,26 @@ public:
///
/// @returns vector of rotational rates in radians/sec
///
Vector3f get_gyro(void) { return _gyro; }
Vector3f get_gyro(void) {
return _gyro;
}
/// Fetch the current accelerometer values
///
/// @returns vector of current accelerations in m/s/s
///
Vector3f get_accel(void) { return _accel; }
Vector3f get_accel(void) {
return _accel;
}
/// return the number of seconds that the last update represents
///
/// @returns number of seconds
///
float get_delta_time(void) { return _sample_time * 1.0e-6; }
float get_delta_time(void) {
return _sample_time * 1.0e-6;
}
/// return the maximum gyro drift rate in radians/s/s. This
/// depends on what gyro chips are being used

Loading…
Cancel
Save