Filter löschen
Filter löschen

Quadcopter Altitude Problem (Z Position/Height)?

1 Ansicht (letzte 30 Tage)
Burak Turan
Burak Turan am 11 Jun. 2020
Kommentiert: Matt Overholt am 2 Dez. 2020
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 Kommentar
Matt Overholt
Matt Overholt am 2 Dez. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Aerospace Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by