Skip to content

Режим утримання (з нерухомим крилом)

The Hold flight mode causes the vehicle to loiter around its current GPS position and maintain its current altitude.

The mode supports a number of distinct loiter modes, which are triggered using different QGC controls or MAVLink commands. These allow loitering with circular and figure 8 flight paths.

TIP

Hold mode can be used to pause a mission or to help you regain control of a vehicle in an emergency. It is usually activated with a pre-programmed RC switch.

INFO

  • Режим автоматичний - для керування апаратом не потрібно втручання користувача.
  • Режим вимагає глобальної оцінки 3D-позиції (з GPS або виведеної з локальної позиції).
    • Літаючі транспортні засоби не можуть переключатися на цей режим без глобального положення.
    • Літаючі транспортні засоби перейдуть в режим аварійної безпеки, якщо втратять оцінку положення.
    • Роззброєні транспортні засоби можуть переключатися в режим без дійсної оцінки позиції, але не можуть озброюватися.
  • Режим вимагає, щоб швидкість вітру та час польоту були в межах допустимих значень (вказано через параметри).
  • Перемикачі керування RC можуть використовуватися для зміни режимів польоту на будь-якому транспортному засобі.
  • Рух стіків радіокерування ігнорується.

Loiter modes

Default Loiter

The aircraft circles around the position at which the mode was triggered and maintain its current altitude. The loiter radius is set by the parameter NAV_LOITER_RAD. Note that if the vehicle altitude is below NAV_MIN_LTR_ALT, it will ascend to that minimum altitude before circling.

The default loiter mode is entered when you switch to Hold mode without explicitly specifying any loiter behaviour. For example, if you switch to Hold mode using an RC switch, select Hold on the QGC flight mode selector, or activate the mode using the MAVLink MAV_CMD_DO_SET_MODE command.

Orbit Loiter Mode

PX4 v1.12

The aircraft travels towards a specified orbit center position, then circles it with a given direction and radius.

This behaviour can be accessed in QGroundControl by clicking on the map in Fly view, selecting Orbit at Location, and configuring the radius.

The behavior can be triggered using the MAVLink MAV_CMD_DO_ORBIT command. Note that PX4 respects the specified centre point (param5, param6, param7), and the radius and direction (param1). PX4 ignores param3 (Yaw behaviour) and param4 (Orbits). The value of param2 (velocity) is also ignored, but the speed can be controlled using the MAV_CMD_DO_CHANGE_SPEED command (constrained between FW_AIRSPD_MAX and FW_AIRSPD_MIN). PX4 outputs orbit status using the ORBIT_EXECUTION_STATUS message.

Figure 8 Loiter Mode

PX4 v1.15 Experimental

The aircraft flys towards the closest point on a specified figure 8 path and then follows it. The path is defined by the figure 8 centre position, orientation, and radius of two circles.

The feature is experimental, and is not present in PX4 firmware by default (on most flight controller boards). It can be included by setting the CONFIG_FIGURE_OF_EIGHT key in the PX4 board configuration for your board and rebuilding. For example, this is enabled on the default.px4board file for the auterion/fmu-v6s board.

The behavior can be triggered using the MAVLink MAV_CMD_DO_FIGURE_EIGHT command (PX4 respects all the parameters). PX4 outputs the figure 8 status using the FIGURE_EIGHT_EXECUTION_STATUS message.

INFO

Figure 8 loitering is not currently supported by QGC: QGC#12778: Need Support Figure of eight (8 figure) loitering by QGC.

Figure 8 loitering is also available in the simulator. You can test it in Gazebo using a fixed wing frame:

sh
make px4_sitl gz_rc_cessna

Параметри

Поведінку режиму утримання можна налаштувати за допомогою наведених нижче параметрів.

ПараметрОпис
NAV_LOITER_RADРадіус кола обертання.
NAV_MIN_LTR_ALTМінімальна висота для режиму очікування (транспортний засіб підніметься на цю висоту, якщо режим увімкнуто на меншій висоті).

The following commands are relevant to this mode:

Note, other commands may be supported.

Дивіться також