# 起飞模式

The Takeoff flight mode causes the vehicle to take off to a specified height and wait for further input.

注解

  • 该模式需要一个良好的位置估计(如,从 GPS 中获取)。
  • 使用此模式前必须先解锁。
  • This mode is automatic - no user intervention is required to control the vehicle.
  • 遥控开关可以在任何无人机上更改飞行模式。
  • 在多旋翼中移动遥控器摇杆(或 VTOL 在多旋翼模式下)默认情况下会将无人机切换到位置模式,除非是处理电池失效保护。
  • 如果起飞时出现问题, 故障检测器 将自动停止引擎。 :::

下面描述每种类型飞机的具体行为。

# 多旋翼(MC)

A multi rotor ascends to the altitude defined in MIS_TAKEOFF_ALT and holds position.

遥控器摇杆移动会把无人机切换到 位置模式默认)。

起飞受以下参数影响:

参数 描述
MIS_TAKEOFF_ALT 起飞期间的目标高度 (默认值: 2.5 米)
MPC_TKO_SPEED 上升速度 (默认值: 1.5 m/s)
COM_RC_OVERRIDE 控制多旋翼(或者多旋翼模式下的 VOTL)的摇杆移动量来切换到 位置模式。 可以分别为自动模式和 offboard 模式启用此功能,默认情况下在自动模式下启用此功能。
COM_RC_STICK_OV The amount of stick movement that causes a transition to Position mode (if COM_RC_OVERRIDE is enabled)

# Fixed-wing (FW)

Automatic takeoff has two modalities: catapult/hand-launch or runway takeoff. The mode defaults to catapult/hand launch, but can be set to runway takeoff by setting RWTO_TKOFF to 1.

There are two ways to start an automatic takeoff on fixed-wing vehicles: either by planning a mission takeoff and starting the mission, or by switching to the Takeoff mode and arming the vehicle.

In both cases, a flight path (starting point and takeoff course) and clearance altitude are defined. The flight path takes the vehicle's current position as starting point when the takeoff mode is first entered, and a straight line from this starting point continues in the direction of the defined course indefinitely. On takeoff, the aircraft will follow this line, climbing at the maximum climb rate (FW_T_CLMB_MAX) until reaching the clearance altitude.

In Takeoff mode (non-mission takeoffs), the course is set to the vehicle heading on arming, and the clearance altitude is set to MIS_TAKEOFF_ALT. Reaching the clearance altitude causes the vehicle to enter Hold mode.

In Mission mode the operator defines the takeoff course and clearance altitude in the Takeoff mission item. The course is defined by the line between the vehicle starting point and the mission item horizontal position, and the clearance altitude is the mission item altitude. Reaching the mission item altitude triggers the next mission item.

Parameters that apply to both catapult/hand-launch as well as runway takeoffs:

参数 描述
MIS_TAKEOFF_ALT Minimum altitude setpoint above Home that the vehicle will climb to during takeoff.
FW_TKO_AIRSPD Takeoff airspeed (is set to FW_AIRSPD_MIN if not defined by operator)
FW_TKO_PITCH_MIN This is the minimum pitch angle setpoint during the climbout phase
FW_T_CLMB_MAX Maximum climb rate.

# 弹射/手动发射

In catapult/hand-launch mode the vehicle waits to detect launch (based on acceleration trigger). On launch it enables the motor and climbs with the maximum climb rate FW_T_CLMB_MAX while keeping the pitch setpoint above FW_TKO_PITCH_MIN. Once it reaches MIS_TAKEOFF_ALT it will automatically switch to Hold mode and loiter.

All RC stick movement is ignored during the full takeoff sequence.

To launch in this mode:

  • Arm the vehicle
  • Put the vehicle into Takeoff mode
  • Launch/throw the vehicle (firmly) directly into the wind. You can also shake the vehicle first, wait till the motor spins up and throw only then

The launch detector is affected by the following parameters:

参数 描述
FW_LAUN_DETCN_ON Enable automatic launch detection. If disabled motors spin up on arming already
FW_LAUN_AC_THLD Acceleration threshold (acceleration in body-forward direction must be above this value)
FW_LAUN_AC_T Trigger time (acceleration must be above threshold for this amount of seconds)
FW_LAUN_MOT_DEL Delay from launch detection to motor spin up

# 跑到起飞

Runway takeoffs can be used by vehicles with landing gear and and steerable wheel (only). You will first need to enable the wheel controller using the parameter FW_W_EN.

Vehicle should be centered and aligned with runway when takeoff is initiated. The operator can "nudge" the vehicle while on the runway to help keeping it centered and aligned (see RWTO_NUDGE).

The runway takeoff mode has the following phases:

  1. Throttle ramp: Throttle is ramped up within RWTO_RAMP_TIME to RWTO_MAX_THR.
  2. Clamped to runway: Pitch fixed, no roll and takeoff path controlled until the rotation airspeed (RWTO_ROT_AIRSPD) is reached. The operator is able to nudge the vehicle left/right via yaw stick.
  3. Climbout: Increase pitch setpoint and climb to takeoff altitude. To prevent wingstrikes, the controller will keep the roll setpoint locked to 0 when close to the ground, and then gradually allow more roll while climbing. It is based on the vehicle geometry as configured in FW_WING_SPAN and FW_WING_HEIGHT.

注解

For a smooth takeoff, the runway wheel controller possibly needs to be tuned. It consists of a rate controller (P-I-FF-controller with the parameters FW_WR_P, FW_WR_I, FW_WR_FF) and an outer loop that calculates heading setpoints from course errors and can be tuned via RWTO_NPFG_PERIOD. :::

Runway takeoff important parameters:

参数 描述
RWTO_TKOFF Enable runway takeoff
FW_W_EN Enable wheel controller
RWTO_MAX_THR Max throttle during runway takeoff
RWTO_RAMP_TIME Throttle ramp up time
RWTO_ROT_AIRSPD Airspeed threshold to start rotation (pitching up). If not configured by operator is set to 0.9*FW_TKO_AIRSPD.
RWTO_ROT_TIME This is the time desired to linearly ramp in takeoff pitch constraints during the takeoff rotation.
FW_TKO_AIRSPD Airspeed setpoint during the takeoff climbout phase (after rotation). If not configured by operator is set to FW_AIRSPD_MIN.
RWTO_NUDGE Enable wheel controller nudging while on the runway
FW_WING_SPAN The wingspan of the vehicle. Used to prevent wingstrikes.
FW_WING_HEIGHT The height of the wings above ground (ground clearance). Used to prevent wingstrikes.
RWTO_NPFG_PERIOD L1 period while steering on runway. Increase for less aggressive response to course errors.
FW_FLAPS_TO_SCL Flaps setpoint during takeoff

注解

起飞时,无人机 总是遵循正常的固定翼最大/最小油门设置(FW_THR_MINFW_THR_MAX)。 :::

# 垂直起降(VTOL)

VTOL 在启动时默认为多旋翼模式,通常可以在多旋翼模式下起飞(而且也更安全)。

That said, if transitioned to fixed-wing before takeoff, they will takeoff in Fixed-wing mode.