Control the Cannon module connected to a Parrot Mambo minidrone
Simulink Support Package for Parrot Minidrones
The Cannon block controls the Cannon module that is connected to a Parrot® Mambo minidrone.
Port_1 — Input signal to control the Cannon module
The Cannon module fires one ball whenever the input changes from
If there are multiple input commands to the Cannon block (to fire the balls in succession), the commands are queued and they are executed one after the other.
You can also use multiple Cannon blocks in the same Simulink model (instead of queuing the commands in one Cannon block) to fire the balls in succession.
Port_1 — Number of firing commands pending in the queue
scalar integer |
The number of firing commands that are pending in the queue while the Cannon module is busy.
An output value of
-1 indicates that the Cannon
module is not connected to the drone, or the Cannon module is not