mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 14:13:35 +08:00
removed unused vtol variables
This commit is contained in:
@@ -47,8 +47,6 @@ Tiltrotor::Tiltrotor(VtolAttitudeControl *attc) :
|
||||
VtolType(attc),
|
||||
_rear_motors(ENABLED),
|
||||
_tilt_control(0.0f),
|
||||
_roll_weight_mc(1.0f),
|
||||
_yaw_weight_mc(1.0f),
|
||||
_min_front_trans_dur(0.5f)
|
||||
{
|
||||
_vtol_schedule.flight_mode = MC_MODE;
|
||||
|
||||
@@ -130,8 +130,6 @@ private:
|
||||
}_vtol_schedule;
|
||||
|
||||
float _tilt_control; /**< actuator value for the tilt servo */
|
||||
float _roll_weight_mc; /**< multicopter desired roll moment weight */
|
||||
float _yaw_weight_mc; /**< multicopter desired yaw moment weight */
|
||||
|
||||
const float _min_front_trans_dur; /**< min possible time in which rotors are rotated into the first position */
|
||||
|
||||
|
||||
@@ -187,10 +187,6 @@ 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. */
|
||||
float _airspeed_tot;
|
||||
int _transition_command;
|
||||
|
||||
VtolType * _vtol_type; // base class for different vtol types
|
||||
|
||||
Reference in New Issue
Block a user