This commit is contained in:
tumbili
2015-11-03 15:10:56 +01:00
parent 27f027b3e4
commit 330f174967
3 changed files with 3 additions and 6 deletions
@@ -51,9 +51,6 @@
Tailsitter::Tailsitter(VtolAttitudeControl *attc) :
VtolType(attc),
_airspeed_tot(0.0f),
_roll_weight_mc(1.0f),
_pitch_weight_mc(1.0f),
_yaw_weight_mc(1.0f),
_min_front_trans_dur(0.5f),
_loop_perf(perf_alloc(PC_ELAPSED, "vtol_att_control-tailsitter")),
@@ -117,9 +117,6 @@ private:
} _vtol_schedule;
float _airspeed_tot; /** speed estimation for propwash controlled surfaces */
float _roll_weight_mc; /**< multicopter desired roll moment weight */
float _pitch_weight_mc; /**< multicopter desired pitch moment weight */
float _yaw_weight_mc; /**< multicopter desired yaw moment weight */
/** not sure about it yet ?! **/
float _min_front_trans_dur; /**< min possible time in which rotors are rotated into the first position */
@@ -197,6 +197,9 @@ private:
param_t elevons_mc_lock;
} _params_handles;
/* for multicopters it is usual to have a non-zero idle speed of the engines
* for fixed wings we want to have an idle speed of zero since we do not want
* to waste energy when gliding. */
int _transition_command;
VtolType *_vtol_type; // base class for different vtol types