Browse Source

yaw fixup

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
6901c56a2e
  1. 2
      libraries/APM_Control/AP_YawController.h

2
libraries/APM_Control/AP_YawController.h

@ -42,7 +42,7 @@ private:
// Low pass filter cut frequency for derivative calculation. // Low pass filter cut frequency for derivative calculation.
// FCUT macro computes a frequency cut based on an acceptable delay. // FCUT macro computes a frequency cut based on an acceptable delay.
#define FCUT(d) (1 / ( 2 * 3.14 * (d) ) ) #define FCUT(d) (1 / ( 2 * 3.14 * (d) ) )
static constexpr float _fCut = FCUT(.5); const float _fCut = FCUT(.5);
}; };
#endif // __AP_YAW_CONTROLLER_H__ #endif // __AP_YAW_CONTROLLER_H__

Loading…
Cancel
Save