Commit Graph

99 Commits

Author SHA1 Message Date
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
Christopher Teubert
fd028e5d5b Merge pull request #27 from jason-watkins/master
Changed runtime linking settings on Windows
2015-03-25 10:26:34 -07:00
Jason Watkins
78bcd96f0c Changed runtime linking settings on Windows
- The MSVC runtime is now statically linked for the 32bit and 64bit Windows plugins. This is done to avoid potentially requiring users to install an additional package from Microsoft to use the plugin.
 - The "Release" build configuration has also been removed, since it was not configured correctly. It will be re-added at a later date.
2015-03-25 10:09:00 -07:00
Chris Teubert
1c27374647 Updated Mac Plugin 2015-03-24 16:52:14 -07:00
Christopher Teubert
aac59dccf1 Merge pull request #26 from jason-watkins/master
CTest Fixes
2015-03-24 16:49:44 -07:00
Jason Watkins
66b074d89b Tweaks to fix setCONNTest on Windows 8
- Temporarily disabled the sending of a CONF message from the plugin in response to setCONN. The CONF message causes crashes on Windows 8 when setCONN is called multiple times.
 -  Removed code that attempted to free result slots in parseRequest before overwritting them with new allocations. The CTests suite currently calls parseRequest with a multidimensional array allocated on the stack, resulting in an attempt to free stack memory. A better solution may be to simply check whether the existing result slots are long enough.
 - As of this commit, all tests in the CTests suite are passing on Windows 8 for X-Plane 9, X-Plane 10 23bit and X-Plane 10 64bit.
2015-03-24 16:11:37 -07:00
Jason Watkins
fbeb297717 Fixed CTests bugs, minor plugin enhancements, and removed old files
- Fixed incorrect message buffer size in sendCTRL function.
 - Fixed a bug in sendCTRLTest where not all DREF sizes were being set.
 - Increased message buffer size in sendReadTest to account for assumptions made by sendUDP.
 - Fixed a bug in updateLog where the log message would sometimes start with several null characters, causing the log message to be effectively ignored by fprintf.

 - The xpcPlugin Visual Studio solution now supports 32 bit and 64 bit builds.
 - Logging performed by the plugin now works correctly on Windows.
 - Long log messages are now truncated to 500 characters. Previously, messages over 500 characters would be omitted, and an error message logged in their place.

 - Several files which were incorrectly added to source control have been deleted.
2015-03-24 14:29:39 -07:00
Chris Teubert
59d3bba414 Added handling of no response for MATLAB requestDREF 2015-03-24 09:37:38 -07:00
Chris Teubert
6236ffc69d Fixed closeUDP bug in CPP Tests 2015-03-24 09:37:38 -07:00
Chris Teubert
7fa3fae689 Updated Plugin
Removed xpcPlugin.xpl from windows directory (32 and 64 bit versions
are already there). Also, changed the plugin outDesc and outSig
2015-03-24 09:37:38 -07:00
Christopher Teubert
88e659d62c Merge pull request #25 from jason-watkins/feature/ctest
Added Visual Studio solution for C test scripts and fixed test bug
2015-03-24 08:37:46 -07:00
jason-watkins
f902303b20 Added Visual Studio solution for C test scripts and fixed test bug
- Added a Visual Studio solution that builds the C test scripts on Windows.
 - Updated .gitignore to ignore user specific Visual Studio files
 - Updated .gitignore to ignore Windows build folders
 - Fixed a bug in closeTest. It now properly closes the UDP port a second time after reopening the port to verify that it closed successfully.
2015-03-23 16:10:50 -07:00