PosHold Mode

The PosHold flight mode is similar to Loiter in that the vehicle maintains a constant location, heading, and altitude but is generally more popular because the pilot stick inputs directly control the vehicle’s lean angle providing a more “natural” feel.

Overview

When switched on, PosHold mode will automatically attempts to maintain the current location, heading and altitude. Good GPS position, low magnetic interference on the compassand low vibrations are all important in achieving good loiter performance.

Controls

The pilot can control the copter’s location horizontally and vertically with the control sticks.

  • Horizontal location can be adjusted with the Roll and Pitch control sticks with the default maximum lean angle being 45 degrees (angle can be adjusted with the ANGLE_MAX parameter). When the pilot releases the sticks the copter will lean back to bring the vehicle to a stop.

  • Altitude can be controlled with the Throttle control stick just as in AltHold mode

  • The heading can be set with the Yaw control stick

  • You may arm in PosHold mode but only once the GPS has 3D lock and the HDOP has dropped to 2.0 or lower.

On a Pixhawk the LED will become green (more details on LED patterns here).

The HDOP value can be made clearly visible through the mission planner’s Quick screen by double clicking and then selecting “gpshdop” from the large grid of checkboxes.

../_images/Loiter_DisplayHDOP.jpg
  • The maximum brake-angle can be set with the PHLD_BRAKE_ANGLE parameter (i.e. 3000 = the vehicle will lean back up to 30degrees)

  • The speed the vehicle rotates back to the maximum angle can be set with the PHLD_BRAKE_RATE parameter (i.e. 8 = rotates back at 8 degrees per second))