Position or Orientation Control Parrot Mambo

11 ビュー (過去 30 日間)
Paolo Rosettani
Paolo Rosettani 2019 年 11 月 29 日
コメント済み: Abhishek Koshe 2022 年 8 月 1 日
Hi,
Inside the "Control System" of the "parrotMinidroneCompetition" there is a boolean variable for choosing the control mode of the drone.
When choosing the "Orientation Mode" (putting the variable equal to 0), which kind of input i need to give for let move the drone?
I would like to have a control mode where the drone always progress forward in relation with the yaw.
Now, using the "Position Mode", while increasing the x-axis value the drone goes straight; when I give a different yaw and increse the x-axis value the drone follow the same direction like before (the x-axis).
How can I solve this?
Thanks :)

採用された回答

Maitreyee Mordekar
Maitreyee Mordekar 2019 年 12 月 4 日
Hello Paolo,
If you put the value as 0, you would be using the orientation control that is the pitch, roll and yaw commands.
You can use position control (X, Y, Z, yaw) if you use the value of the constant to be 1. Yaw has an independent controller so you can use the yaw in both orientation and position control.
The X, Y and Z values are with respect to the global frame of reference. Hence, you see the behaviour that the drone moves straight even if you increase X after the yaw. It has been actually asked to increase teh global X and not the X with repect to the drone's body.
I hope this helps.
-Maitreyee
  1 件のコメント
Abhishek Koshe
Abhishek Koshe 2022 年 8 月 1 日
Hello mam,
How can I change position of the drone using drone's body reference?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Parrot Drones についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by