Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem description: uav can start in anywhere with random ground velocity direc

ID: 3278588 • Letter: P

Question

Problem description: uav can start in anywhere with random ground velocity direction, uav wants to tangent onto the leg and follow this leg.

For example there are 4 waypoints(each waypoint has different velocity but smaller than 30m/s) in this mission, uav must stop at the last waypoint. You can just set the height of fight is 100m.

You can not exceed the following conditions:

Head acceleration : a_max = 1m/s^2

Roll angle: roll_max = 15 deg/s

Ground_speed = ground_speed_max = 30m/s

Task: 1.using matlab realizes L2 plus simulation

         2.plot the uav trajectory/waypoint/waypoint leg/velocity/acceleration/roll angle/roll rate.

       Please comment as detailed as possible in your program

Kindly send me the snap of the source code

I have provided the above examples. You will need to use matlab

700 600 500 300 200 100 Waypoint Path -100 Initial Point 100 200 300 400 500 600 700800 900 1000 Y(m) Fig. 7: Waypoint tracking with wind. Airspeed = 16m/s, mean wind-8m/s from 090 (right to left)

Explanation / Answer

function [x , y] = trajectory(Vo,O,t,g)

% Function for varying angle

x = Vo * cos(O) * t ;

y = Vo*(sin(O)*t)-(0.5*g*(t.^2));

g = 9.8;

Vo = (0:1:30);

t = (0:1:5);

for O = (0:1:15)

[x,y] = trajectory(Vo,O,t,g);

end

plot (x,y);

hold on

end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote