how can i land the parrot-minidrone in simulink?

Hi
we are trying to code for 1st round minidrone competition in simulink
we want to know how to land minidrone without error in simulink
we get the same error like
An error occurred while running the simulation and the simulation was terminated
Caused by:
' every time we change z component of poe_ref '0' or same track z-posistion .
could you give me some advice about resolving error?
Thanks
simulink.JPG

 Réponse acceptée

Maitreyee Mordekar
Maitreyee Mordekar le 20 Août 2019

1 vote

Hello Wonbo,
The error you observe is something which is expected. It appears because the drone hits the ground surface and it should not go below the ground surface.
I hope this helps. Please let me know if there are any further questions.
-Maitreyee

3 commentaires

hi maitreyee
thank you for your help
then, if it(my simulation) works correctly ,is that always error right? (it doesn't matter?)
thanks
Hello Wonbo,
If you land anywhere on the floor, you would get that error. I hope this makes sense.
-Maitreyee
Hi,
Do we have end the simulation with this error or is there any API which allows us to land the quadcopter by bypassing the above error?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by