diff --git a/C/User Guide (C).txt b/C/User Guide (C).txt
deleted file mode 100644
index 7fcc94e..0000000
--- a/C/User Guide (C).txt
+++ /dev/null
@@ -1,192 +0,0 @@
-X-Plane Connect-C (XPC-C) Readme
-
-DESCRIPTION
- XPC-C is a series of C functions that facilitate communication with X-Plane.
-
------------------------------------
-SETUP
- Before using XPC Functions you must
- 1. Copy the folder "[XPC Directory]/xpcPlugin/XPlaneConnect" to the "[X-Plane Directory]/Resources/plugins" directory.
- 2. Put in X-Plane CD 1 or X-Plane USB Key.
- 3. Start X-Plane.
- 4. #include "xplaneConnect.h"
-
------------------------------------
-BASIC FUNCTIONS
- 1. openUDP opens a UDP Socket for communication. This is used to send data or receive.
- INPUT:
- port (unsigned short): Port Number (ex:49067)
- xpIP (char *): IP Address of the computer running x-plane
- xpPort (unsigned short): Port number that the X-Plane/ xpcPlugin Receives on (send -1 for default (49009), Typically xpcPlugin is 49009)
-
- OUTPUT:
- socket (xpcSocket): The Opened Socket
-
- USE:
- unsigned short portNumber = 49067;
- struct xpcSocket theSocket = openUDP(portNumber, “127.0.0.1”, 49009);
-
- 2. closeUDP closes an opened UDP Socket for communication. This is to be done after the program has finished using that socket. Use opedUDP to open socket.
- INPUT:
- socket (xpcSocket): The Opened Socket
-
- USE:
- closeUDP(theSocket);
-
- 3. setCONN sets the return port for requested datarefs.
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- recPort (unsigned Short): Port number for requested dataref values to be sent to
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- setCONN(theSocket,IP,49009,49022); // Sets receive address to 49022;
-
- 4. pauseSim pauses/resumes the x-plane simulation
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- pause (short): 1=Pause, 0=Resume
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- pauseSim(theSocket, IP, 49009, 1);
-
- 5. sendDATA set the value of a state in the "DATA Input & Output" Table
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- dataArray (float[][9]): Array of data to be sent. The first element of each row is the item # (corresponding to the number on the X-Plane "DATA Input & Output" Screen). Send -999 to leave the value unchanged.
- rows (unsigned short): Number of rows of data being sent
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- float data[] = {{14, 1, -999, -999, -999, -999, -999, -999, -999},{25, 0.8, 0.8, -999, -999, -999, -999, -999, -999}}; // Gear and Throttle
- sendDATA(theSocket,IP,49009,data,2);
-
- 6. sendPOSI set the position of an aircraft
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- ACNum (short): Number of aircraft to be moved, use 0 for main aircraft (ownPlane).
- numArgs (short): Number of Arguments to be sent (size of position array)
- position (float []): Arguments corresponding to aircrafts position
- position[0] = Latitude
- position[1] = Longitude
- position[2] = Altitude (m MSL)
- position[3] = Roll (deg)
- position[4] = Pitch (deg)
- position[5] = True Heading (deg)
- position[6] = Gear (0=up, 1=down)
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- float posit[] = {37.5242422, -122.06899, 2500, 0, 0, 0, 1};
- sendPOSI(theSocket, IP, 49009, 7, posit);
-
- 7. sendCTRL send control commands to the aircraft
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- numArgs (short): Number of Arguments to be sent (size of control array)
- control (float []): Arguments corresponding to aircraft control command
- control[0] = Latitudinal Stick [-1,1]
- control[1] = Longitudinal Stick [-1,1]
- control[2] = Pedal [-1, 1]
- control[3] = Throttle [-1, 1]
- control[4] = Gear (0=up, 1=down)
- control[5] = Flaps [0, 1]
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- float ctrl[] = {0, 0, 0, 0.8, 0, 1};
- sendCTRL(theSocket, IP, 49009, 6, ctrl);
-
- 8. sendDREF set the value of a specific dataref. Dataref list found at http://www.xsquawkbox.net/xpsdk/docs/DataRefs.html
- INPUT:
- socket (xpcSocket): Socket to use to send the command
- dataRef (char *): Dataref to be set (with or without "sim/" preceeding it)
- length (short): length of dataref string
- values (float *): Array of values to be sent
- length2 (short): Number of values in values array
-
- OUTPUT:
- status (short): 0 if successful
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- char theDREF[] = "cockpit/switches/gear_handle_status";
- float value = 1;
- sendDREF(theSocket, IP, 49009, theDREF, strlen(theDREF), &value, 1);
-
- 9. requestDREF Request the value of specific dref(s). Dataref list found at http://www.xsquawkbox.net/xpsdk/docs/DataRefs.html
- INPUT:
- outSocket (xpcSocket): Socket to use to send the command
- inSocket (xpcSocket): Socket to use to receive the result
- DREFArray (char[][100]): Array of DataRefs to be requested
- DREFSizes (int[]): Array of string lengths for each DataRef in DREFArray
- listLength (short): Number of DataRefs in DREFArray
- result (*float[]): Array of pointers to the values returned
- arrayLen (short[]): Array where each element corresponds to the number of elements in the float array.
-
- OUTPUT:
- length (short): Number of Values Returned
-
- USE:
- char IP[16] = "127.0.0.1";
- struct xpcSocket theSocket = openUDP(49067);
- char DREFArray[][100] = {"sim/cockpit/switches/gear_handle_status"};
- requestDREF(theSocket, IP, 49009, DREFArray, strlen(DREFArray[0]),1);
-
- 10. sendTEXT write some text to the screen.
- INPUT:
- outSocket (xpcSocket): Socket to use to send the command
- message (char*): The string to be wrote to the screen
- x (int): The x position where the text will be written. Set to -1 to use default position.
- y (int): The y position where the text will be written. Set to -1 to use default position.
-
------------------------------------
-ADVANCED FUNCTIONS (These are mostly used by the xpcPlugin to read requests)
- 1. sendUDP
- 2. readUDP
- 3. readDATA
- 4. parseDATA
- 5. readPOSI
- 6. parsePOSI
- 7. readCTRL
- 8. parseCTRL
- 9. readRequest
- 10. parseRequest
- 11. parseDREF
- 12. readDREF
-
------------------------------------
-PLANNED FUNCTIONS
- 1. sendVIEW
- 2. parseVIEW
- 3. readVIEW
- 4. sendWYPT
- 5. parseWYPT
- 6. readWYPT
- 7. selectDATA
-
------------------------------------
-CONTACT
- Email Christopher Teubert (christopher.a.teubert@nasa.gov) with any questions.
diff --git a/MATLAB/Documentation (MATLAB).html b/MATLAB/Documentation (MATLAB).html
deleted file mode 100644
index 87ba7c9..0000000
--- a/MATLAB/Documentation (MATLAB).html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox
-
-
-
-
-XPC-MATLAB
-Chris Teubert (Christopher.A.Teubert@nasa.gov)
-
-Summary
-XPC-MATLAB is a series of MATLAB functions that facilitate communication with X-Plane. This toolbox allows for the real-time application of active control to an XPlane simulation, flight visualization, record state during a flight, or interact with a mission using UDP.
-
-Table of Contents
-
- - Functions
- - Setup
-
- Use
- - Example
- - Future Work
- - Notices and Disclaimers
- - Change Log
-
-
-Functions
-Basic Package
-
-|
- - sendDATA: |
- Send X-Plane Formatted DATA over UDP |
|
- - sendPOSI: |
- Send Position and orientation update command to X-Plane over UDP for any aircraft (own or traffic) |
|
- - sendCTRL: |
- Send control commands to X-Plane over UDP for any aircraft (own or traffic) |
|
- - sendDREF: |
- Set any X-Plane internal variable (dataref) over UDP |
|
- - selectDATA: |
- Choose specific X-Plane DATA parameters to be sent by X-Plane over UDP |
|
- - setConn: |
- Sets the return port for requested datarefs. |
|
- - pauseSim: |
- Pause simulation |
|
- - openUDP: |
- Script that opens an UDP Socket |
|
- - closeUDP: |
- Script that closes an UDP Socket |
-
-
-Advanced/Special-Use Functions
-|
- - clearUDPBuffer: |
- Script that clears an UDP Socket Buffer |
|
- - readDATA: |
- Read X-Plane Formatted Data from UDP Socket |
|
- - readUDP: |
- Read Array from UDP Socket |
|
- - sendSTRU: |
- Send a MATLAB structure over UDP |
|
- - sendUDP: |
- Send array over UDP |
-
-
-Future
-|
- - requestDREF: |
- Request the value of a specific data ref |
|
- - drawWaypoint: |
- NOT FUNCTIONAL |
-
-
-Setup
-Before using XPC Functions you must
-1. Install X-Plane (http://www.x-plane.com)
-2. Copy the file xpcPlugin.xpl to the "[X-Plane Directory]/Resources/plugins" directory.
- a. For Mac xpcPlugin can be found in the "[XPlaneConnect]/xpcPlugin/Mac" directory.
- a. For Windows xpcPlugin can be found in the "[XPlaneConnect]/xpcPlugin/Win" directory.
-3. Insert X-Plane CD 1 or X-Plane USB Key.
-4. Start X-Plane.
-5. import XPlaneConnect.*
-
-Examples
-Files
-TO BE ADDED
-Description
-
-Future Work
-
-
-Notices and Disclaimers
-Notices:
-Copyright ©2013-2014 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.
-
-
Disclaimers:
-
-No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT "AS IS."
-
-Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY LAW. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT.
-
-
X-Plane API
-Copyright (c) 2008, Sandy Barbour and Ben Supnik All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- - Neither the names of the authors nor that of X-Plane or Laminar Research may be used to endorse or promote products derived from this software without specific prior written permission from the authors or Laminar Research, respectively.
-
-
-X-Plane API SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-
diff --git a/MATLAB/pages/clearUDPBuffer.html b/MATLAB/pages/clearUDPBuffer.html
deleted file mode 100644
index f09b945..0000000
--- a/MATLAB/pages/clearUDPBuffer.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-ClearUDPBuffer
-
-
-
-
-<-- Back
-clearUDPBuffer
-Script that clears an UDP Socket Buffer
-
-Inputs
-
- - Socket: UDP Socket to be cleared
-
-
-Outputs
-
-
-Use
-1. import XPlaneConnect.*;
-2. Socket = openUDP(49005);
-3. Socket = clearUDPBuffer(Socket);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-09/12/13: [CT] Add optional arguments
-09/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/closeUDP.html b/MATLAB/pages/closeUDP.html
deleted file mode 100644
index e2a64c5..0000000
--- a/MATLAB/pages/closeUDP.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-closeUDP
-
-
-
-
-<-- Back
-closeUDP
-Script that closes a UDP Socket
-
-Inputs
-
- - Socket: UDP Socket to be closed
-
-
-Outputs
-
- - Status: Integer indicating the success of socket closing. 1 = Success 0 = Failure
-
-
-Use
-1. import XPlaneConnect.*;
-2. Socket = openUDP(49005);
-3. Status = closeUDP(Socket);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-09/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/openUDP.html b/MATLAB/pages/openUDP.html
deleted file mode 100644
index d13ed2b..0000000
--- a/MATLAB/pages/openUDP.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-openUDP
-
-
-
-
-<-- Back
-openUDP
-Script that opens a UDP Socket
-
-Inputs
-
- - port: UDP Port for socket
- - timeout (optional): Optional parameter for time to UDP timeout (in ms)-Default 0.1 seconds
-
-
-Outputs
-
-
-Use
-1. import XPlaneConnect.*;
-2. Socket = openUDP(49005);%Open socket at port 49005 with timeout of 0.1 seconds
-or
-2. Socket = openUDP(49005,200);%Open socket at port 49005 with timeout of 0.2 seconds
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-09/12/13: [CT] Added optional timeout input argument
-09/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/pauseSim.html b/MATLAB/pages/pauseSim.html
deleted file mode 100644
index bf799c0..0000000
--- a/MATLAB/pages/pauseSim.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-pauseSim
-
-
-
-
-<-- Back
-pauseSim
-
-Inputs
-
- - Pause: binary value 0=run, 1=pause
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. status = pauseSim(1);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/readDATA.html b/MATLAB/pages/readDATA.html
deleted file mode 100644
index 12cef1b..0000000
--- a/MATLAB/pages/readDATA.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-readDATA
-
-
-
-
-<-- Back
-readDATA
-Reads UDP Socket and interprets data
-
-Inputs
-
- - location: Either an opened UDP Socket or integer port number
-
-
-Outputs
-If data is X-Plane data format:
-
- - data: Matlab X-Plane DATA Structure
- - .h: Header array containing header numbers corresponding to values in the X-Plane UDP Data screen.
- - .d: 2-D Data array. Each row contains eight values corresponding to the header value (.h(1) corresponds to .d(1,:))
- - .raw: raw UDP data array received by readUDP
-
-If data is matlab structure:
-
- - data: Matlab Structure. Raw udp data saved to data.raw
-
-If data is any other format:
-
- - data: Matlab Structure containing one field
- - .raw & .d: raw UDP data array received by readUDP
-
-
-Use
-1. import XPlaneConnect.*;
-2. socket = openUDP(49005);
-3. data = readDATA(socket);
-4. status = closeUDP(socket);
-
-or
-
-1. import XPlaneConnect.*;
-2. data = readDATA(49005);
-
-Note
-NOTE: sending in a port number instead of an opened socket clears the UDP buffer. This only works if the data is being sent at a fast rate. Sending in a UDP Socket reads the first packet in the buffer.
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-09/10/13: [CT] Updated to receive UDP socket or port number
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/readUDP.html b/MATLAB/pages/readUDP.html
deleted file mode 100644
index 8a636f2..0000000
--- a/MATLAB/pages/readUDP.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-readUDP
-
-
-
-
-<-- Back
-readUDP
-Read Array from UDP Socket
-
-Inputs
-
- - location: Either an opened UDP Socket or integer port number
-
-
-Outputs
-
- - data: UDP uint8 Array. Equal to -998 in the case of an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. socket = openUDP(49005);
-3. data = readUDP(socket);
-4. status = closeUDP(socket);
-
-or
-
-1. import XPlaneConnect.*;
-2. data = readUDP(49005);
-
-Note
-NOTE: sending in a port number instead of an opened socket clears the UDP buffer. This only works if the data is being sent at a fast rate. Sending in a UDP Socket reads the first packet in the buffer.
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-09/08/13: [CT] Added option for either UDP Socket or port number input
-06/10/13: [CT] Code created
-<-- Back
\ No newline at end of file
diff --git a/MATLAB/pages/requestDREF.html b/MATLAB/pages/requestDREF.html
deleted file mode 100644
index ff822de..0000000
--- a/MATLAB/pages/requestDREF.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-requestDREF
-
-
-
-
-<-- Back
-requestDREF
-
-Inputs
-
- - DREFArray: Cell Array of DataRefs to be requested
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. DREFArray = {'sim/cockpit2/controls/yoke_heading_ratio','sim/cockpit2/controls/yoke_roll_ratio'};
-3. status = requestDREF( DREFArray, '172.0.100.54' );
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/selectDATA.html b/MATLAB/pages/selectDATA.html
deleted file mode 100644
index 2a9e3e0..0000000
--- a/MATLAB/pages/selectDATA.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-selectDATA
-
-
-
-
-<-- Back
-selectDATA
-Choose specific X-Plane parameters to be send over UDP
-
-Inputs
-
- - index: An array of the values that to be sent. Corresponds to the numbers on the XPlane Output screen (ACTUAL NAME?)
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. Status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. values = [1, 2, 3, 27, 40];
-3. status = selectDATA(values,'127.0.0.1',49005);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-04/18/14: [CT] V0.2: Added Versioning
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendCTRL.html b/MATLAB/pages/sendCTRL.html
deleted file mode 100644
index 9bb501a..0000000
--- a/MATLAB/pages/sendCTRL.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendCTRL
-
-
-
-
-<-- Back
-sendCTRL
-Send position and orientation update command to X-Plane over UDP. This requires the X-Plane Connect Plugin to be running
-
-Inputs
-
- - ctrl: Array of 6 values where:
-
- - ctrl(1) Latitudinal Stick [-1,1]
- - ctrl(2) Longitudinal Stick [-1,1]
- - ctrl(3) Pedal [-1, 1]
- - ctrl(4) Throttle [-1, 1]
- - ctrl(5) Gear (0=up, 1=down)
- - ctrl(6) Flaps [0, 1]
-
- - aircraft number (optional): 0=own aircraft
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. ctrl = [0, 0, 0, 0.8, 0, 0];
-3. status = sendCTRL(ctrl); % Set position of own aircraft
-4. status2 = sendCTRL(ctrl,1); % Set position of aircraft 1
-
-Change Log
-10/02/14: [CT] V0.9 Updated to use new xpcPlugin
-09/26/14: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendDATA.html b/MATLAB/pages/sendDATA.html
deleted file mode 100644
index 02df49d..0000000
--- a/MATLAB/pages/sendDATA.html
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendDATA
-
-
-
-
-<-- Back
-sendDATA
-Send X-Plane formatted DATA over UDP. This function is used to change one of the parameters listed in the x-plane udp data screen (see http://www.nuclearprojects.com/xplane/images/xp_datainout.jpg)
-
-Inputs
-
- - data: X-Plane formatted data. Is a matlab structure with the following fields:
-
- - .h: Header array containing header numbers corresponding to values in the X-Plane UDP Data screen.
- - .d: 2-D Data array. Each row contains eight values corresponding to the header value (.h(1) corresponds to .d(1,:))
-
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. Status=1 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. data = struct('h',14,'d',[1,-998,-998,-998,-998,-998,-998,-998]); %Set Gear
-3. %Send the data array to port 49005 on the computer at IP address 172.0.100.54.
-4. status = sendDATA(data, '172.0.100.54', 49005);
-
-note
-Note: send the value -998 to not overwrite that parameter. That is, if -998 is sent, the parameter will stay at the current X-Plane value
-
-Change Log
-10/01/14: [CT] V0.9: updated to function with new xpcPlugin
-06/10/13: [CT] First created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendDREF.html b/MATLAB/pages/sendDREF.html
deleted file mode 100644
index c5dd742..0000000
--- a/MATLAB/pages/sendDREF.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendCTRL
-
-
-
-
-<-- Back
-sendCTRL
-Send position and orientation update command to X-Plane over UDP. This requires the X-Plane Connect Plugin to be running
-
-Inputs
-
-
- - data(1) Latitudinal Stick [-1,1]
- - data(2) Longitudinal Stick [-1,1]
- - data(3) Pedal [-1, 1]
- - data(4) Throttle [-1, 1]
- - data(5) Gear (0=up, 1=down)
- - data(6) Flaps [0, 1]
-
- - aircraft number (optional): 0=own aircraft
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*
-2. dataRef = 'sim/aircraft/parts/acf_gear_deploy'; // Landing Gear
-3. Value = 0;
-4. status = sendDREF(dataRef, Value);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to use new xpcPlugin
-06/10/13: [CT] Code created
-
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendPOSI.html b/MATLAB/pages/sendPOSI.html
deleted file mode 100644
index 4642b96..0000000
--- a/MATLAB/pages/sendPOSI.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendDREF
-
-
-
-
-<-- Back
-sendPosition
-Send position and orientation update command to X-Plane over UDP. This requires the X-Plane Connect Plugin to be running
-
-Inputs
-
- - data: Array of 6 values where:
-
- - data(1) is the aircraft's Latitude (degrees)
- - data(2) is the aircraft's Longitude (degrees)
- - data(3) is the aircraft's altitude (meters above sea level)
- - data(4) is the aircraft's roll angle (degrees)
- - data(5) is the aircraft's pitch angle (degrees)
- - data(6) is the aircraft's heading/yaw angle (degrees)
-
- - aircraft number (optional): 0=own aircraft
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. latlon = [37.4185718,-121.935565]; %Lat,lon of NASA Ames Research Center
-3. alt = 500; %meters above sea level
-4. orient = [0,20,180]; %Orientation (roll,pitch,yaw/heading). 20 degrees yaw, heading south
-5. status = sendPOSI([latlon,alt,orient]); % Set position of own aircraft
-6. status2 = sendPOSI([[latlon(1)+0.005,latlon(2)],alt,orient],1); % Set position of aircraft 1
-
-Change Log
-10/02/14: [CT] V0.9 Updated to use new xpcPlugin
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendSTRU.html b/MATLAB/pages/sendSTRU.html
deleted file mode 100644
index 7ec9b57..0000000
--- a/MATLAB/pages/sendSTRU.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendSTRU
-
-
-
-
-<-- Back
-sendSTRU
-Send a MATLAB structure over UDP
-
-Inputs
-
- - stru: A MATLAB structure
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin
-
-
-Outputs
-
- - status: If there was an error. Status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. data = struct('a',[1:20],'b',1.853,'name','Example Structure');
-3. #Send the data structure to port 49005 on the computer at IP address 172.0.100.54
-4. status = sendSTRU( data, '172.0.100.54', 49005 );
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-08/01/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/sendUDP.html b/MATLAB/pages/sendUDP.html
deleted file mode 100644
index 92e4ae4..0000000
--- a/MATLAB/pages/sendUDP.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-sendUDP
-
-
-
-
-<-- Back
-sendUDP
-Send an one dimensional array of type uint8 data over an UDP connection
-
-Inputs
-
- - data: 1-D array of type uint8 data to be sent
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. Status=1 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*;
-2. data = uint8([1:20]);
-3. #Send the data array to port 49005 on the computer at IP address 172.0.100.54.
-4. status = sendUDP( data, '172.0.100.54', 49005 );
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-06/10/13: [CT] Code created
-<-- Back
-
-
-
\ No newline at end of file
diff --git a/MATLAB/pages/setConn.html b/MATLAB/pages/setConn.html
deleted file mode 100644
index 568f929..0000000
--- a/MATLAB/pages/setConn.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
- XPlaneConnect Toolbox-setConn
-
-
-
-
-<-- Back
-setConn
-Send a command to set up the port where you will receive data on this computer.
-
-Inputs
-
- - Receiving Port: Port that data will be sent to in the future for this connection
- - IP Address (optional): IP Address of the machine that will receive the data as a character array. Default is '127.0.0.1' (local machine)
- - port (optional): Port on the receiving machine where the data will be sent. Default is 49009 (XPlaneConnect). In general use 49009 to send to the plugin and 49005 to send to the x-plane udp
-
-
-Outputs
-
- - status: If there was an error. status<0 means there was an error.
-
-
-Use
-1. import XPlaneConnect.*
-2. status = setConn(49011);
-
-Change Log
-10/02/14: [CT] V0.9: Updated to work with updated xpcPlugin
-04/21/14: [CT] V0.2: First Version
-<-- Back
-
-
-
\ No newline at end of file