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:
Binary file not shown.
@@ -9,6 +9,7 @@ function sendCTRL( values, ac, socket )
|
||||
% 4. Throttle [-1, 1]
|
||||
% 5. Gear (0=up, 1=down)
|
||||
% 6. Flaps [0, 1]
|
||||
% 7. Speed Brakes [-0.5, 1.5]
|
||||
% ac (optional): The aircraft to set. 0 for the player aircraft.
|
||||
% socket (optional): The client to use when sending the command.
|
||||
%
|
||||
|
||||
@@ -35,4 +35,4 @@ end
|
||||
value = single(value);
|
||||
|
||||
%%Send command
|
||||
socket.setDREF(dref, value);
|
||||
socket.sendDREF(dref, value);
|
||||
Reference in New Issue
Block a user