I have a problem with my parrot mimidrone, mambo. I want to control Altitude of the drone with Simulink project.
Because of It's system frrequency(200Hz), mambo shoots sonar at the everytime of it's system frequency(0.005s which is set to be Ts by Simulink).
So, my drone can not exactly catch it's altitude at over0.85m! (sonar can move 1.7m in 0.005s) and Drone be unstable at high altitude because of this problem.
How can I solve this problem?
How can I control the Sonar triger ferquency?