parrot
Description
This object represents a connection from MATLAB® to the Parrot® drone. To interact with the Parrot drone, use this object with the functions listed in Object Functions.
Note
MATLAB Support Package for Parrot Drones supports only the Parrot shipped factory firmware. To restore the original firmware, see Restore Original Firmware.
Creation
Description
connects to the first
available Parrot drone over the wireless network.parrotObj
= parrot
connects to the Parrot drone with the specified name over the wireless network.parrotObj
= parrot(droneName
)
Input Arguments
Properties
Object Functions
The object functions are used to interact with your Parrot drone
abort | End flight of Parrot drone |
flip | Flip Parrot drone in specified direction |
land | Land Parrot drone |
move | Move Parrot drone in all six directions |
moveback | Move Parrot drone backwards |
movedown | Move Parrot drone down |
moveforward | Move Parrot drone forward |
moveleft | Move Parrot drone left |
moveright | Move Parrot drone right |
moveup | Move Parrot drone upwards |
readHeight | Read current height of Parrot drone |
readOrientation | Read Euler angles of Parrot drone |
readSpeed | Read speed of Parrot drone |
takeoff | Initiate Parrot drone takeoff |
turn | Turn Parrot drone at specified angle |
Examples
Version History
Introduced in R2019a