Minidrone orientation value change problem

2 vues (au cours des 30 derniers jours)
Sadashiv Vaidya
Sadashiv Vaidya le 5 Juil 2019
Commenté : Ramakrishna CH le 13 Août 2019
Initially I implemented model by changing position ref values in path planning block. It works properly. But when i give inputs to the orientation, its only taking values for yaw. I want to implement pitch movement in the model. How do i do that?
Also after making changes in the model i am not able to save it. Next time when i run the model using command parrotMinidroneCompetitionStart , it opens the same model which is given as an example. Please tell me how shall i save changes in my project?
  1 commentaire
Ramakrishna CH
Ramakrishna CH le 13 Août 2019
How did you gave inputs on orientation and how the yaw is changed.can you explain?

Connectez-vous pour commenter.

Réponses (1)

Maitreyee Mordekar
Maitreyee Mordekar le 8 Juil 2019
Hello Sadashiv,
To use orientation control for the drone, you will have to change the flag controlModePosVsOrient to 0 from 1. In the controller that is used by the drone, you can either work with Position Control or Orientation Control; not both together. The Yaw control is working since yaw has an independent controller in position and orientation control.
Everytime you type the command parrotMinidroneCompetitionStart, a new Simulink Project is created. When the new project gets created, you can go to the folder one level above, and access all the projects that you have created typing the command. You will see multiple folders with parrotMinidroneCompetitionXX name; where XX is a number.
Capture.PNG
Maybe you can keep the folder you are working on in a different directory or just remember the number of the folder.
I hope this helps!
-Maitreyee

Catégories

En savoir plus sur MATLAB Support Package for Parrot Drones dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by