Quadcopter Altitude Problem (Z Position/Height)?

조회 수: 4 (최근 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 CenterFile Exchange에서 Quadcopters and Drones에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by