mavCmdNavLoiterToAlt top-level constant
MavCmd
const mavCmdNavLoiterToAlt
Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint.
MAV_CMD_NAV_LOITER_TO_ALT
Implementation
const MavCmd mavCmdNavLoiterToAlt = 31;