mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AttControl_Heli: fix compile warning re member init order
This commit is contained in:
parent
52474faa2e
commit
84d3069a77
@ -77,6 +77,9 @@ private:
|
||||
// calculate total body frame throttle required to produce the given earth frame throttle
|
||||
float get_boosted_throttle(float throttle_in);
|
||||
|
||||
// pass through for roll and pitch
|
||||
int16_t _passthrough_roll;
|
||||
int16_t _passthrough_pitch;
|
||||
|
||||
// LPF filters to act on Rate Feedforward terms to linearize output.
|
||||
// Due to complicated aerodynamic effects, feedforwards acting too fast can lead
|
||||
@ -85,9 +88,6 @@ private:
|
||||
LowPassFilterFloat roll_feedforward_filter;
|
||||
LowPassFilterFloat yaw_feedforward_filter;
|
||||
|
||||
// pass through for roll and pitch
|
||||
int16_t _passthrough_roll;
|
||||
int16_t _passthrough_pitch;
|
||||
};
|
||||
|
||||
#endif //AC_ATTITUDECONTROL_HELI_H
|
||||
|
Loading…
Reference in New Issue
Block a user