From e17fcbd9cbf6950952398b43969a8b5e4725065d Mon Sep 17 00:00:00 2001 From: uncrustify Date: Tue, 21 Aug 2012 19:19:51 -0700 Subject: [PATCH] uncrustify libraries/AP_AHRS/AP_AHRS_HIL.h --- libraries/AP_AHRS/AP_AHRS_HIL.h | 54 +++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS_HIL.h b/libraries/AP_AHRS/AP_AHRS_HIL.h index ea46cbe92a..67544e6709 100644 --- a/libraries/AP_AHRS/AP_AHRS_HIL.h +++ b/libraries/AP_AHRS/AP_AHRS_HIL.h @@ -4,36 +4,46 @@ class AP_AHRS_HIL : public AP_AHRS { public: - // Constructors - AP_AHRS_HIL(IMU *imu, GPS *&gps) : AP_AHRS(imu, gps) - { - } + // Constructors + AP_AHRS_HIL(IMU *imu, GPS *&gps) : AP_AHRS(imu, gps) + { + } - // Accessors - Vector3f get_gyro(void) {return _omega; } + // Accessors + Vector3f get_gyro(void) { + return _omega; + } - Matrix3f get_dcm_matrix(void) { - Matrix3f m; - m.from_euler(roll, pitch, yaw); - return m; - } + Matrix3f get_dcm_matrix(void) { + Matrix3f m; + m.from_euler(roll, pitch, yaw); + return m; + } - // Methods - void update(void) {} - void setHil(float roll, float pitch, float yaw, - float rollRate, float pitchRate, float yawRate); + // Methods + void update(void) { + } + void setHil(float roll, float pitch, float yaw, + float rollRate, float pitchRate, float yawRate); - // return the current estimate of the gyro drift - Vector3f get_gyro_drift(void) { return Vector3f(0,0,0); } + // return the current estimate of the gyro drift + Vector3f get_gyro_drift(void) { + return Vector3f(0,0,0); + } - // reset the current attitude, used on new IMU calibration - void reset(bool recover_eulers=false) {} + // reset the current attitude, used on new IMU calibration + void reset(bool recover_eulers=false) { + } - float get_error_rp(void) { return 0; } - float get_error_yaw(void) { return 0; } + float get_error_rp(void) { + return 0; + } + float get_error_yaw(void) { + return 0; + } private: - Vector3f _omega; + Vector3f _omega; }; #endif