Minidrone orientation value change problem

조회 수: 2 (최근 30일)
Sadashiv Vaidya
Sadashiv Vaidya 2019년 7월 5일
댓글: Ramakrishna CH 2019년 8월 13일
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
Ramakrishna CH
Ramakrishna CH 2019년 8월 13일
How did you gave inputs on orientation and how the yaw is changed.can you explain?

댓글을 달려면 로그인하십시오.

답변 (1개)

Maitreyee Mordekar
Maitreyee Mordekar 2019년 7월 8일
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

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Parrot Drones에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by