Main Content

takeoff

Initiate Parrot drone takeoff

Add-On Required: This feature requires the MATLAB Support Package for Parrot Drones add-on.

Description

takeoff(parrotObj) initiates the takeoff of a Parrot® drone, represented by parrotObj.

example

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)

Input Arguments

collapse all

Parrot drone connection object, specified as a parrot object.

Version History

Introduced in R2019a

See Also

| |