27 lines
640 B
Matlab
27 lines
640 B
Matlab
function sendWYPTTest()
|
|
%% Setup
|
|
addpath('../../MATLAB')
|
|
import XPlaneConnect.*
|
|
|
|
points = [37.5245, -122.06899, 2500,...
|
|
37.455397, -122.050037, 2500,...
|
|
37.469567, -122.051411, 2500,...
|
|
37.479376, -122.060509, 2300,...
|
|
37.482237, -122.076130, 2100,...
|
|
37.474881, -122.087288, 1900,...
|
|
37.467660, -122.079391, 1700,...
|
|
37.466298, -122.090549, 1500,...
|
|
37.362562, -122.039223, 1000,...
|
|
37.361448, -122.034416, 1000,...
|
|
37.361994, -122.026348, 1000,...
|
|
37.365541, -122.022572, 1000,...
|
|
37.373727, -122.024803, 1000,...
|
|
37.403869, -122.041283, 50,...
|
|
37.418544, -122.049222, 6];
|
|
|
|
%% Test
|
|
sendWYPT(1, points);
|
|
|
|
|
|
end
|