Clear Filters
Clear Filters

Total time of flight for minidrone.

1 view (last 30 days)
Jeremias Machado
Jeremias Machado on 16 Nov 2017
Answered: Brandon Pierce on 31 Dec 2018
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
Ankur Bose
Ankur Bose on 30 Nov 2017
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

Community Treasure Hunt

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

Start Hunting!