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
This commit is contained in:
Jason Watkins
2015-05-05 12:41:20 -07:00
parent 873950a866
commit 7017c314fd
3 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ function sendCTRL( values, ac, socket )
% 4. Throttle [-1, 1] % 4. Throttle [-1, 1]
% 5. Gear (0=up, 1=down) % 5. Gear (0=up, 1=down)
% 6. Flaps [0, 1] % 6. Flaps [0, 1]
% 7. Speed Brakes [-0.5, 1.5]
% ac (optional): The aircraft to set. 0 for the player aircraft. % ac (optional): The aircraft to set. 0 for the player aircraft.
% socket (optional): The client to use when sending the command. % socket (optional): The client to use when sending the command.
% %

View File

@@ -35,4 +35,4 @@ end
value = single(value); value = single(value);
%%Send command %%Send command
socket.setDREF(dref, value); socket.sendDREF(dref, value);