Grabber

Control the Grabber module connected to a Parrot Mambo minidrone

Since R2019b

  • Grabber block

Libraries:
Simulink Support Package for Parrot Minidrones

Description

The Grabber block controls the Grabber module that is connected to a Parrot® Mambo minidrone.

Ports

Input

expand all

The grabber closes (to grab the object) if the input is 1, and it opens (to place the object in position) if the input is 0.

Note

The change of value of the input signal (0 to 1 or 1 to 0 results in an immediate action by the Grabber. For example, the grabber closes immediately if the input signal becomes 1 even though an opening action is in progress due to a previous input signal of value 0.

Data Types: Boolean

Output

expand all

The block outputs one of these three values that correspond to the current state of the Grabber module:

  • 1 – Grabber is closed

  • 0 – Grabber is opened

  • -1 – Grabber is not connected to the drone or it is not working

Data Types: uint8

Version History

Introduced in R2019b