fw pos ctrl l1 main: init target_bearing

This commit is contained in:
Thomas Gubler
2014-06-30 21:25:18 +02:00
parent 62a9254289
commit 527ce1048a
@@ -168,8 +168,8 @@ private:
/* Landingslope object */
Landingslope landingslope;
float flare_curve_alt_rel_last;
/* heading hold */
float target_bearing;
@@ -427,6 +427,7 @@ FixedwingPositionControl::FixedwingPositionControl() :
last_manual(false),
landingslope(),
flare_curve_alt_rel_last(0.0f),
target_bearing(0.0f),
launchDetector(),
_airspeed_error(0.0f),
_airspeed_valid(false),