Commit Graph

296 Commits

Author SHA1 Message Date
Jason Watkins
c568fc6425 Merge branch 'c-test-refactor' into dref-send-multiple 2015-05-07 15:29:38 -07:00
Jason Watkins
f2e64a30f2 Added support for sending multiple datarefs to the C client. 2015-05-07 15:24:57 -07:00
Jason Watkins
ec759cbbff Refactored C Tests
The C client tests were getting a bit unwieldy. Moved each block of tests to a separate file based on the functionality being tested. I've just put all of the test code directly in the headers because there doesn't seem to be any reason for the test headers to be included anywhere except in main.c.
2015-05-07 15:24:57 -07:00
Jason Watkins
0884cfd395 Added support for setting multiple datarefs to the plugin.
- The DREF command now uses the packet length to detect and set multiple datarefs in a single packet.
2015-05-07 15:24:56 -07:00
Jason Watkins
e3bc25d510 Updated description of logging levels and changed default logging verbosity. 2015-05-07 15:24:56 -07:00
Jason Watkins
1e83dacdc5 Merge branch 'python-example' into develop
Resolves #64
2015-05-06 10:14:59 -07:00
Jason Watkins
e3e9c3c55c Fixed bug in that format of the Python client's DATA command. 2015-05-06 10:13:02 -07:00
Jason Watkins
7d7e0d01b2 Added example for the Python client. 2015-05-06 10:12:41 -07:00
Jason Watkins
24768ff140 Renamed Python client file to decrease ambiguity.
- File and class name no longer conflict.
 - Better matches the structure of Java client.
2015-05-05 14:47:39 -07:00
Jason Watkins
8a0efd6c76 Merge branch 'ctrl-speedbrakes' into develop
Resolves #53
2015-05-05 13:17:14 -07:00
Jason Watkins
e9e95d988b Added support for setting speed brakes to Python client 2015-05-05 13:04:11 -07:00
Jason Watkins
7017c314fd Added support for setting speed brakes to MATLAB client.
- Updated .jar version of the Java client used by the MATLAB client
 - Added documentation for speed brake setting
 - No additional changes are needed since the Java client handles the heavy lifting.
 - Fixed a bug in sendDREF related to the updated .jar
2015-05-05 13:04:11 -07:00
Jason Watkins
873950a866 Added support for setting speed brakes to Java client. 2015-05-05 13:04:10 -07:00
Jason Watkins
b6e79d43fd Fixed sendCTRL test bugs. 2015-05-05 13:04:10 -07:00
Jason Watkins
01b55f97c4 Fixed bug in handling of CTRL command
Several of the values were not checked for the "don't change" sentinel value.
2015-05-05 13:04:09 -07:00
Jason Watkins
c6f9669e36 Added support for setting speed brakes to C client. 2015-05-05 13:04:08 -07:00
Jason Watkins
3030f67a9d Add support for speed brakes to plugin HandleCtrl function. 2015-05-05 13:04:08 -07:00
Jason Watkins
8f4d50929f Cleaned up implementation of getDREFs in the Java client.
- Removed unnecessary loop to try to read several times.
 - Fixed the way that readUDP detects the length of received packets.
2015-05-05 13:04:07 -07:00
Jason Watkins
7f1af73c3c Moved XPData array to DataManager and removed DataMaps.
After removing C++11 features, only the declaration of XPData remained in DataMaps, making it somewhat pointless to separate XPData from DataManager.
2015-05-05 13:04:03 -07:00
Jason Watkins
aeceb87f1d Merge latest changes from release-1.0.1
Removing all C++11 features touches many parts of many files, so better merge the changes into develop ASAP to prevent future conflicts.
2015-05-05 08:33:54 -07:00
Jason Watkins
796fd0f7aa Fix for Linux builds 2015-05-04 16:09:45 -07:00
Jason Watkins
8ed6b39779 Increased the timeout for select in the C client on Windows. 2015-05-04 14:58:55 -07:00
Chris Teubert
99e94015c4 Added newline at end of file 2015-05-04 11:33:12 -07:00
Chris Teubert
79d4897206 Added newline at EOF
So X-Code won’t complain anymore.
2015-05-04 10:59:16 -07:00
Chris Teubert
63b9ac25d7 Mac binary 2015-05-04 10:30:21 -07:00
Chris Teubert
c44f521842 pauseSim should be returning int on error 2015-05-04 10:30:10 -07:00
Jason Watkins
23ee994b8d Merge branch 'simu-switch' into develop
Resolves #52
2015-05-01 15:22:07 -07:00
Jason Watkins
35abb41e8e Updated Python client to support "switch" argument in SIMU command. 2015-05-01 15:13:27 -07:00
Jason Watkins
dcdd63d0c3 Updated MATLAB client to support "switch" argument in SIMU command. 2015-05-01 15:08:31 -07:00
Jason Watkins
f88d319191 Updated Java client to support "switch" argument in SIMU command. 2015-05-01 15:07:42 -07:00
Jason Watkins
0b984c3d49 Updated C client to support "switch" argument in SIMU command. 2015-05-01 14:55:36 -07:00
Jason Watkins
1ee3f85b23 Added "switch" functionality to plugin SIMU message handler. 2015-05-01 14:48:33 -07:00
Jason Watkins
7b462b5f78 Merge branch 'example-improvements' into develop
Resolves #36
2015-05-01 14:29:16 -07:00
Jason Watkins
200eadd1e9 Updated Java example.
- Removed setCONN, since very few users should need it in the future.
 - Added test at the beginning of the example to ensure that the client is connected to X-Plane.
2015-05-01 14:28:33 -07:00
Jason Watkins
d2282c7695 Added check to MATLAB example to ensure connection to X-Plane. 2015-05-01 14:26:12 -07:00
Jason Watkins
472ed4feac Added check to beginning of C example to ensure that the client is connected to X-Plane. 2015-05-01 14:20:44 -07:00
Jason Watkins
00efb7e089 Merge branch 'feature-python' into develop
Resolves #8
2015-05-01 13:52:18 -07:00
Jason Watkins
10d21cc0df Finished implementing unit tests and fixed bugs found. 2015-05-01 13:50:48 -07:00
Jason Watkins
685d121edd Fixed several bugs found by unit tests. 2015-05-01 09:14:35 -07:00
Jason Watkins
31095b716b Updated Python client unit tests. 2015-05-01 09:14:34 -07:00
Jason Watkins
2a874eb514 Refactored Python client to match other clients. 2015-05-01 09:14:33 -07:00
jwatkins42
18aa9fa251 Fixed several bugs based on test results 2015-05-01 09:14:33 -07:00
jwatkins42
9fb2274ae8 Started implementing tests 2015-05-01 09:14:32 -07:00
jwatkins42
4aaca80d3e Added PyTools project files for Python API 2015-05-01 09:14:32 -07:00
jwatkins42
fd63976e4d Finished basic Python impl. 2015-05-01 09:14:31 -07:00
jwatkins42
04897b878e More python! 2015-05-01 09:14:31 -07:00
jwatkins42
b6233ab5d7 Started implementation of Python version of XPC client. 2015-05-01 09:14:30 -07:00
Jason Watkins
69dadea027 Merge branch 'feature-logging' into develop 2015-04-30 16:26:34 -07:00
Jason Watkins
d735e0f3ad Updated plugin logging.
- The plugin now keeps the log file open for the duration of its lifetime.
 - This greatly improves the performace of the logging component, which was previously a significant bottleneck even at low logging verbosity.
 - The log now prints timestamps to the millisecond.
2015-04-30 16:24:18 -07:00
Jason Watkins
aaf25a9933 Updated Log to use C++ headers cstdio and ctime instead of stdio.h and time.h. 2015-04-30 15:11:14 -07:00