Commit Graph

621 Commits

Author SHA1 Message Date
Chris Teubert
efc591ead4 Added missing return 2015-04-08 09:12:56 -07:00
Chris Teubert
1fd92edb02 Added missing #include's 2015-04-08 09:12:56 -07:00
Chris Teubert
b7dfb8ec3e Bug fix
Fixed function prototype in header (didn’t match source file)
2015-04-08 09:12:56 -07:00
Jason Watkins
1fb7a81336 Changed the draw phase of text messages to a more appropriate phase. 2015-04-07 16:26:56 -07:00
Jason Watkins
8445c60e00 Added support for the TEXT command to the MATLAB client 2015-04-07 15:33:53 -07:00
Jason Watkins
a903859a3c Added support for the TEXT command to the Java client. 2015-04-07 15:33:53 -07:00
Jason Watkins
46913596c5 Added support for the TEXT command to the C client. 2015-04-07 15:33:46 -07:00
Jason Watkins
453ea65619 Added plugin support for drawing messages to screen.
- Either a single string will be drawn to screen, or nothing will be drawn.
 - Intelligently registers and unregisters drawing callback to minimize overhead when no message is being displayed.
 - Currently does not support newline characters (\r or \n). Newlines will cause text to be drawn overlapped.
2015-04-07 15:33:38 -07:00
Christopher Teubert
38ae9e699d Merge pull request #44 from jason-watkins/feature/sendCTRL
Add support for multiplayer aircraft to sendCTRL
2015-04-07 11:20:02 -07:00
Chris Teubert
82abd8e712 updated mac plugin 2015-04-07 11:20:14 -07:00
Jason Watkins
a1b3d91964 Updated Windows plugin binaries 2015-04-07 10:43:40 -07:00
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