Quad Rotor Trajectory Generation

조회 수: 4 (최근 30일)
Mohamed Amine BELYAMANI
Mohamed Amine BELYAMANI 2020년 7월 19일
답변: Yahia Magdy 2022년 6월 1일
Hello Everyone,
I'm working on autonomous quadrotor, and I'm having problems with trajectory generation. I started initially with waypoints for take off and hovering.
function P = Trajectory(X)
% X is the measurement from the drone.
Z = X(3);
Zd = X(6);
Z_des = 5; % desired height is set at 5 meters
Zd_des = 11; % desired speed is set at 11 m/s
P = [0 0 Z_des 0 0 Zd_des 0 0 0 0 0 0 ];
% when the drone reaches the desired height, It should hover over the point, So I set the linear velocity at 0 m/s
if Z_des == z
P = [0 0 Z_des 0 0 0 0 0 0 0 0 0];
end
end
I want to start generating complex trajectories.
I'm wondering how I should develop these trajectories using waypoitns ?
  댓글 수: 1
Zahid Abbas
Zahid Abbas 2020년 9월 30일
Hello Mohamed I am working on making a waypoint follower for multi agent system for testing my optimized algorithm can u help in this regard on what direction should I follow

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

답변 (3개)

Image Analyst
Image Analyst 2020년 7월 19일
I don't know what "waypoitns" is, but for what it's worth, I'm attaching my trajectory/projectile program that computes a ton of stuff about a projectile.

Cam Salzberger
Cam Salzberger 2020년 7월 20일
Hey Mohamed,
Have you looked into the uavWaypointFollower and its Simulink block equivalent in Robotics System Toolbox's UAV Library? It's not exactly trajectory generation, but it may be more useful to your end goal.
-Cam
  댓글 수: 2
Mohamed Amine BELYAMANI
Mohamed Amine BELYAMANI 2020년 7월 21일
Yes, It is a useful tool to work with, but considering complex trajectories or/and obstacle avoindance, I might need a script that take into account different factors while generating trajectories.
From now the main objective is how to generate a set of waypoints so I can :
  • make the drone follow up on each step time given.
  • derive velocity and acceleration as to generate desired Euler angles and angulare rates.
Yahia Magdy
Yahia Magdy 2022년 5월 31일
السلام عليكم محمد...
هل ممكن ان تساعدني في جعل الطائرة تحوم على مسافة صفر ,,ثم جعلها ترتفع الى مسافة واحد متر في زمن اقل من واحد ثانية

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


Yahia Magdy
Yahia Magdy 2022년 6월 1일
can you help me in ...
Make the quadrotor be stable at a distance of zero...
then make it rise to one meter in less than one second time, and a maximum of 4%.

카테고리

Help CenterFile Exchange에서 UAV에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by