how can i land the parrot-minidrone in simulink?

10 views (last 30 days)
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

Accepted Answer

Maitreyee Mordekar
Maitreyee Mordekar on 20 Aug 2019
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 Comments
Maitreyee Mordekar
Maitreyee Mordekar on 5 Sep 2019
Hello Wonbo,
If you land anywhere on the floor, you would get that error. I hope this makes sense.
-Maitreyee
Siddhant Khadgi
Siddhant Khadgi on 11 Aug 2022
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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!