Commit Graph

273 Commits

Author SHA1 Message Date
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
Jason Watkins
37eb6b6b03 Added X-Plane version information to the XPC log file. 2015-04-30 13:53:02 -07:00
Jason Watkins
85e3ce91dd Removed -nodefaultlibs flag on Linux 64 bit builds. 2015-04-30 13:03:55 -07:00
Jason Watkins
8898ff9be9 Added explicit -m64 flag to CMakeLists. 2015-04-30 13:03:54 -07:00
Chris Teubert
2c9982fea0 Remove Todo Comment 2015-04-30 11:16:51 -07:00
Chris Teubert
6ed9c67469 Fixed Typo 2015-04-30 11:16:51 -07:00
Jason Watkins
b243306866 Added namespace qualifiers for memcpy in Message logging. 2015-04-30 11:03:42 -07:00
Jason Watkins
781fc390c2 Fixed bug in array initialization for SIMU command. 2015-04-30 10:03:24 -07:00
Jason Watkins
ed8d065642 Explicitly initialize sock to ~0 if WSAStartup fails. 2015-04-30 09:32:19 -07:00
Jason Watkins
a9aba0e8de Fixed the order of the orientation drefs in POSI tests. 2015-04-30 09:22:44 -07:00
Jason Watkins
57be2704d1 Fixed typo in DataManager validation checks. 2015-04-30 09:17:44 -07:00
Jason Watkins
0533480b8e Updated LOG_VERBOSITY description. 2015-04-30 09:07:11 -07:00
Jason Watkins
902aa006e8 Updated C client socket timeout.
The C client previously set a very short read timeout because it was required
 by the plugin. To compensate for this on the client side, we would try to
read several times in a loop. Since the plugin no longer uses the C client for
networking, we can do away with the loops and set a proper timeout.
2015-04-30 09:04:32 -07:00
Jason Watkins
39c2f58a54 Fixed issues related to overwriting values in POSI commands.
- Added global position drefs for multiplayer aircraft.
 - Added checks for the "don't change" sentinel value to SetPosition, SetOrientation and SetFlaps.
 - Reordered validation checks in SetGear to be consistent with the above methods.
 - Removed some now redundant "don't change" value checks in the MessageHandlers class.
2015-04-30 09:04:31 -07:00
Chris Teubert
cde91d84c9 Mac Binary 2015-04-30 09:04:31 -07:00
Chris Teubert
e512cdd981 Pause should be an array 2015-04-30 09:04:30 -07:00
Chris Teubert
7f9be34d45 Y_AGL->Elevation Fix 2015-04-30 09:04:29 -07:00
Chris Teubert
94db707414 removed sendReadTest-c 2015-04-30 09:04:29 -07:00
Chris Teubert
644dc8c5eb uncommented sendPOSITest 2015-04-30 09:04:28 -07:00
Chris Teubert
93c54e315a Compare 2d array 2015-04-30 09:04:28 -07:00
Chris Teubert
62a7f26289 getDREFS array should be 2d 2015-04-30 09:04:27 -07:00
Chris Teubert
1ae095b365 Y_agl should be elevation! 2015-04-30 09:04:27 -07:00
Chris Teubert
50fd1d7074 Made IP #define in C Tests 2015-04-30 09:04:22 -07:00