Commit Graph

310 Commits

Author SHA1 Message Date
Jason Watkins
15df14d334 Added multiplayer sendCTRL support to MATLAB client
- Also fixed a bug in the message format where gear was sent as a single rather than a byte.
2015-04-07 10:43:40 -07:00
Jason Watkins
1f81a4e54d Added Java client support for multiplayer sendCTRL 2015-04-07 10:43:39 -07:00
Jason Watkins
abf2a426d2 Added C client support for multiplayer sendCTRL commands. 2015-04-07 10:43:39 -07:00
Jason Watkins
79f632f9a3 Updated handleCTRL to support multiple aircraft.
- Resolves #12
2015-04-07 10:43:26 -07:00
Jason Watkins
a05ddb42be Modified parseCTRL and readCTRL to return a struct.
- Defined a new struct that contains the information sent by the CTRL command
 - Added some additional validation to parseCTRL.
 - Changed the return type of parseCTRL and removed now redundant pointer parameters.
 - Propagated return type change throughout the plugin code base.
2015-04-07 10:38:57 -07:00
Jason Watkins
04166d3bac Expanded multiplayer DREF list to include more DREFs for non-player aircraft. 2015-04-07 10:38:37 -07:00
Jason Watkins
3825259603 Fixed .gitignore rules for IntelliJ
- All excluded IntelliJ files are now ignored, regardless of path.
2015-04-07 09:22:43 -07:00
Jason Watkins
42b9ee15c9 Removed unnecessary project file from Java example. 2015-04-07 08:45:44 -07:00
Jason Watkins
9d3e961a2f Fixed bugs in C tests.
- math.h was not correctly included.
 - the return value of sendCTRLtest sometimes incorrectly reported success.
2015-04-07 08:21:06 -07:00
Christopher Teubert
58000ea3dc Merge pull request #43 from jason-watkins/feature/java
Added Java client example.
2015-04-06 11:04:29 -07:00
Jason Watkins
f253c987ae Added Java client example. 2015-04-06 09:56:34 -07:00
Jason Watkins
1361288080 Updated IntelliJ project file to point to new test script location. 2015-04-03 15:35:25 -07:00
Christopher Teubert
ab9680a324 Merge pull request #42 from nasa/movingJavaExample
moved java test script to TestScripts folder
2015-04-03 15:33:31 -07:00
Chris Teubert
dce3a48f65 moved java test script to TestScripts folder 2015-04-03 15:19:56 -07:00
Chris Teubert
214c79ff31 Removed xcodeproject 2015-04-03 15:13:27 -07:00
Chris Teubert
a3c53be7b2 Updated readme 2015-04-03 15:09:51 -07:00
Chris Teubert
59d4f073a6 Added copyright notice-java 2015-04-03 15:07:06 -07:00
Christopher Teubert
79d0f81e72 Merge pull request #38 from jason-watkins/feature/java
Feature/java
2015-04-03 14:56:45 -07:00
Jason Watkins
2790f55798 Changed behavior of sockets so that the plugin will correctly recognized different clients. 2015-04-03 14:46:16 -07:00
Jason Watkins
6901ebce6a Added doc comment to setCONN. 2015-04-03 14:05:43 -07:00
Jason Watkins
74cb81b5f7 Fixed timeout bug in setCONN and strengthened test for setCONN. 2015-04-03 13:59:26 -07:00
Chris Teubert
cfe34f81ea added "sim/" to the front of DREF
optional “sim/“ feature has been removed from XPC
2015-04-03 13:49:58 -07:00
Jason Watkins
494d661d52 Fixed all known bugs 2015-04-03 10:56:54 -07:00
Jason Watkins
b783b40073 Basic implementation of the Java client with integration tests. 2015-04-03 10:56:19 -07:00
Jason Watkins
0a09b11bae Initial project files 2015-04-03 10:53:17 -07:00
Christopher Teubert
d067435cfc Merge pull request #37 from nasa/updates
Removed "sim/" auto add feature
2015-04-03 10:48:02 -07:00
Chris Teubert
0c2e786890 Removed "sim/" auto add feature
Removed “sim/“ auto add feature. There are some drefs (custom/art) that
do not start with “sim/“
2015-04-03 10:47:55 -07:00
Christopher Teubert
83ced0659b Merge pull request #35 from nasa/updates
Bux Fixes
2015-04-01 16:33:53 -07:00
Jason Watkins
3f0274a74c Updated Windows plugin binaries. 2015-04-01 16:21:55 -07:00
Chris Teubert
54bd73df9b Fixed bug with sendCTRL
sendCTRL was not setting the flap
2015-04-01 16:02:28 -07:00
Chris Teubert
f114554d9c Updated Mac xpcPlugin x-code project setup
Changed product name to mac, and updated build directory for Fat Plugin
format
2015-04-01 15:58:51 -07:00
Chris Teubert
5d50d970bd sendCTRL Bug
Fixed bug where sendCTRL is sending gear as float. Changed to char as
specified in ICD.
2015-04-01 15:58:01 -07:00
Chris Teubert
87819e5adc C/CPP Test Fixes
Fixed incorrect DREF for flaps.
Fixed error where sendCTRL and sendPOSI were using abs instead of fabs.
2015-04-01 15:54:07 -07:00
Chris Teubert
00971567f8 Removed superfluous mac plugin 2015-03-31 15:02:30 -07:00
Christopher Teubert
b58fb212f9 Merge pull request #34 from jason-watkins/master
Fixed setCONN and tweaked pauseSim in MATLAB client
2015-03-31 09:50:33 -07:00
Jason Watkins
acbf373c26 Modified MATLAB pauseSim function to match the behavior of the C client pauseSim. 2015-03-31 08:44:15 -07:00
Jason Watkins
22cbf903b5 Fixed setConn function in MATLAB client 2015-03-30 16:36:19 -07:00
Christopher Teubert
c37256de51 Merge pull request #33 from jason-watkins/master
Several small fixes
2015-03-30 14:47:23 -07:00
Chris Teubert
87c66cafdf Fixed data structure, display, and control bug 2015-03-30 14:45:49 -07:00
Jason Watkins
85fdcbe3dc Several small fixes
- Added Visual Studio solution for C client example.
 - Fixed inconsistent indentation in C client example.
 - Changed default behavior in MATLAB client's sendCTRL function to leave unchanged instead of setting default values.
 - Fixed sendPOSI and sendDATA sections of the MATLAB example.
 - Fixed port number in the C and C++ setCONN tests.
2015-03-30 13:38:51 -07:00
Christopher Teubert
d199bd0089 Merge pull request #32 from jason-watkins/feature/examples
Basic MATLAB example script mirroring the current C example.
2015-03-28 18:21:05 -07:00
Christopher Teubert
ff7d5fe491 Merge pull request #29 from jason-watkins/feature/cleanup
.gitignore cleanup and file restructuring
2015-03-28 17:50:15 -07:00
Chris Teubert
250c98a78c Fixed minor bug in setConn.m
Should be single quote around strings
2015-03-28 15:54:06 -07:00
Christopher Teubert
ea2ae58c76 Merge pull request #28 from jason-watkins/feature/test-scripts
C++ and MATLAB testing improvements
2015-03-28 15:44:47 -07:00
Jason Watkins
ba9cc91b47 Basic MATLAB example script mirroring the current C example. 2015-03-27 15:36:57 -07:00
Jason Watkins
9791283578 Expanded MATLAB tests 2015-03-27 08:43:20 -07:00
Jason Watkins
8dace8b2ab Added VS project for CPP Tests and fixed some CPP Tests bugs,
- Added a Visual Studio project for C++ test scripts.
 - Increased message buffer size in sendReadTest to account for assumptions made by sendUDP.
 - Fixed a bug in sendCTRLTest where not all DREF sizes were being set.
 - Fixed a bug in sendCTRLTest where not all DREFs were being requested.
 - All C++ tests are now passing on Windows for XP9, XP10-32 and XP10-64
2015-03-27 08:43:20 -07:00
Jason Watkins
011558abfa Restructured plugin files to conform to "fat plugin" structure.
- Deleted platform specific folders from xpcPlugin folder.
 - Added new XPlaneConnect folder under xpcPlugin folder.
 - Moved and renamed windows binaries into architecture specific folders
 - Moved and renamed mac binary to XPlaneConnect root (single mac binary supports 32 & 64 bit)
 - Updated installation instructions in Readme
 - Cleaned up plugin Visual Studio project architecture
2015-03-25 15:46:25 -07:00
Jason Watkins
b91776e687 Removed files that were previously in version control that should be ignored. 2015-03-25 11:32:40 -07:00
Jason Watkins
535b8164af Updated .gitignore.
- New rules should automatically exclude nearly all files that shouldn't be in source control.
 - Works well on Windows. Hasn't been tested on Mac
2015-03-25 11:16:54 -07:00