How to interface parrot mambo drone and OptiTrack using Simulink?

3 views (last 30 days)
Hello,
I am trying to control Parrot mambo in real time using OptiTrack and asbQuadcopter (Parrot minidrone Simulink model).
Currently, I have successfully sent the data acquired by OptiTrack to the Parrot minidrone Simulink model, and also succeeded in executing simulation by setting the OptiTrack data to the target trajectory (Z-axis) of Parrot minidrone Simulink model.
However, when I built the Parrot minidrone simulink model and started the Flight Interface, the target trajectory(Z-axis) of OptiTrack data was not input, and the Parrot mambo did not fly.
The simulation environment/procedure is shown below.
・Measurement side (Measurement side.png, Optitrack_visualization.slx)
1. Send Z-axis position data from OptiTrack to Simulink with Quanser's OptiTrackable block.
2.Z-axis position data is sent to the Parrot minidrone Simulink model using the UDP Send block of the Simulink Support Package for Parrot Minidrones.
・Control side(Parrot Sim model) (Control side.png, flightControlSystem.slx)
1.Open the FCS in asbQuadcopter.
2.Connect the Receive block of Simulink Support Package for Parrot Minidrones to the target trajectory, and receive the data of the UDP Send block on the measurement side.
3.Build the FCS.
4.Press Start on Flight Interface.
How can I send OptiTrack data to the Parrot mambo drone(real machine) in real time?
Please could you suggest anything on this.
yoshi
  1 Comment
Anjak4
Anjak4 on 9 Jan 2020
Hi yoshi,
have you made any progress with this project? Did you manage to stream the data to the real machine?
Best,
A

Sign in to comment.

Answers (0)

Categories

Find more on Parrot Minidrones in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!