Quadcopter Altitude Problem (Z Position/Height)?

1 回表示 (過去 30 日間)
Burak Turan
Burak Turan 2020 年 6 月 11 日
コメント済み: Matt Overholt 2020 年 12 月 2 日
H ello everyone. I am new at MATLAB. I am interested in Quadcopter Project. I tried every setp of https://www.mathworks.com/help/supportpkg/parrot/ref/follow-waypoints-parrot-drone.html documentation. I want to make quadcopter go when I enter the constant values (X,Y,Z). I can control x and y with coordinates or joystick, but I cannot control Z positiont of quadcopter. When I tried to increase the Z position of quadcopter, I got the error that the flag has been triggered. How can I adjust the quadcopter X,Y and Z position with stability of quadcopter? Can someone help me urgently?
  1 件のコメント
Matt Overholt
Matt Overholt 2020 年 12 月 2 日
Could you clarify how/where you are entering the X,Y,Z coordinates? This example is taking its direction from the 'Waypoints' block as described in Task 2 of the example documentation (Configure Waypoint Follower and Landing Logic in Path Planning Subsystem). The VSS_COMMAND (Flight Commands) options, which includes the joystick input you mentioned, are not utilized directly. I did try changing the height from 1 to 3 meters (i.e. from -1 to -3 since Z points downwards) in the 'Waypoints' block and got a Stop Simulation error flag after 5 seconds of flight. Is this what you were experiencing?
If you have not seen the following quadcopter example I recommend taking a look.
Besides the joystick option (VSS_COMMAND=1), you can also modify the trajectory using previously saved MATLAB data (VSS_COMMAND=2) or spreadsheet data (VSS_COMMAND=3). Sample data files are in the 'mainModels' subdirectory.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeQuadcopters and Drones についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by