Question: Project 2 : Air Traffic Control Simulation Introduction One day in 2 0 5 0 , you are the air traffic controller sitting at the

Project 2: Air Traffic Control Simulation
Introduction
One day in 2050, you are the air traffic controller sitting at the control tower at ATL, enjoying your
morning coffee. Suddenly, you receive a radio call saying that an airplane, A1, declares an emergency
and needs to land first. Now, you look at the radar map in Figure 1 and realize that the aircraft is
not the first in the landing queue. Your job is to land and park all three aircrafts in minimal time,
without violating any airspace, runway, and taxiway rule or regulation, with A1 being the first to
land and park at P3. The optimal landing order after A1 lands is for you to determine as well.
Objective:
Manage an emergency landing scenario for aircraft A1, prioritizing it for landing and parking at P3,
followed by A2 and A3 or A3 and A2. Ensure efficient operations without violating airspace rules.
Key Elements:
Aircrafts: A1, A2, A3.
Parking: P1, P2, P3.
Some Useful Coordinates Information
A1: 0.5;0.1;2.
A2: 0;0.3;-0.2.
A3: 0.1;-0.3;-0.1.
P1: [0.1; o].
P2: 0.2;0.
P3:[0.3;0].
Airspace Rules and Regulations
General Rules
R1: Minimum separation of aircrafts in the air and on the runway: 0.25m.
R2: R1 does not apply to aircrafts on the taxiway.
R3: Do not fly out of the simulation boundary.
R4: On the boundary between 2 areas, the limitations of the faster airspace apply.
R5: The center coordinates count as the position of the aircraft. Do not worry about the radius/width
of the aircraft.
Class F(ast) Airspace
F1:|w|max=4rads.
F2: vmin=0.05ms.
F3: vmax=0.08ms.
Class S(low) Airspace
S1: |w|max=6rads.
S2: vmin=0.03ms.
Ss: vmax=0.04ms.
Class X Airspace
x1 : Entry is prohibited at any time.
Runway and Taxiway
T1: |w|max=2rads.
T2: vmin=0ms.
T3:vmax=0.02ms.
GOALS:
G1: DESIGN ALGORITHM AND WRITE MATLAB CODE TO Park all 3 aircrafts at the parking spots, with A1 at P3. Orientation does not matter.
G2: DEVELOP MATLAB CODE TO Achieve G1 by a minimal number of iterations, with at most 1750 iterations.
BASE STRUCTURE MATLAB CODE ON WHICH THE GOALS HAVE TO BE DEVELOPED:
%% Simulator Skeleton File - Project 2
% This file provides the bare-bones requirements for interacting with the
% Robotarium. Note that this code won't actually run. You'll have to
% insert your own algorithm! If you want to see some working code, check
% out the 'examples' folder.
close all
%% Get Robotarium object used to communicate with the robots/simulator
N =3;
r = Robotarium('NumberOfRobots', N, 'ShowFigure', true, 'InitialConditions', [.50.1;.1.3-.3;pi/2 pi-0.2 pi-0.1]);
data =[];
% Select the number of iterations for the experiment.
iterations =1750; % Do not change
% Other important variables
initpos1=[.5; .1; pi/2];
initpos2=[0; .3; pi-0.2];
initpos3=[.1; -.3; pi-0.1];
target =[.3.2.1; 000];
targetalt =[.3.1.2; 000];
%%%%%%%%%%%%%%%%%%%%%%%% Place Static Variables Here %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%% Do not modify anything outside this area %%%%%%%%%%%%%%%
% var =0;
%%%%%%%%%%%%%% Do not modify anything outside this area %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Iterate for the previously specified number of iterations
for t =1:iterations
% Retrieve the most recent poses from the Robotarium. The time delay is
% approximately 0.033 seconds
p = r.get_poses();
% Plot the traces every 20 iterations
if mod(t,20)==0
plot(p(1,1),p(2,1),'k.',p(1,2),p(2,2),'m.',p(1,3),p(2,3),'b.');
end
% Success check with position tolerance embedded
if isequal(round(p(1:2,:),2), target)|| isequal(round(p(1:2,:),2), targetalt)
fprintf('Success! The final iteration number is %d.
', t);
break
end
%%%%%%%%%%%%%%%%%%%%%%%% Place Algorithm Here %%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%% Do not modify anything outside this area %%%%%%%%%%%%%%%
% u =???;
% You can try with u =[0.030.020.01; 000] first. Observe what happens to
% get a sense of how it works.
%%%%%%%%%%
 Project 2: Air Traffic Control Simulation Introduction One day in 2050,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!