Main Content

land

Land Parrot drone

Description

example

land(parrotObj) initiates the gradual landing of Parrot® drone, represented by parrotObj, from the current position and ends the drone flight. Use takeoff to begin a new flight. This is a blocking call. In other words, MATLAB blocks the command line until the current command runs to completion.

Examples

collapse all

Connect to a Parrot drone.

parrotObj = parrot('Mambo')
parrotObj = 
          parrot with properties:

                    Name: "Mambo"
                      ID: "Mambo_564853"
                   State: "landed"
            BatteryLevel: 50%
        AvailableCameras: ["FPV"]

Use the parrot object to initiate takeoff of the Parrot drone.

takeoff(parrotObj)

While the Parrot is flying, initiate the landing of the drone.

land(parrotObj)

Input Arguments

collapse all

Parrot drone connection object, specified as a parrot object.

See Also

| | |

Introduced in R2019a