Total time of flight for minidrone.

I would like to know how to change the total time of flight for the minidrone Rolling Spider? The time defined in Simulink is not the same used with the controller on-board.

1 Comment

Hi Jeremias, Which version of MATLAB are you using? I can tell you how to change the flight time depending on that.

Sign in to comment.

Answers (1)

Brandon Pierce
Brandon Pierce on 31 Dec 2018
Have you tried adjusting the step size of the solver? I had a similar issue when I let the solver determine the step size. The 40 second simulation would end in 2 seconds. If I changed the simulation solver to fixed step size and a step size of 0.005 s, This allows for the simulation to run very close to the time that it takes to perform the simulaiton.
-Brandon

Categories

Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange

Asked:

on 16 Nov 2017

Answered:

on 31 Dec 2018

Community Treasure Hunt

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

Start Hunting!