mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user