Releases: nasa/XPlaneConnect
Version 1.3 RC6
Bugfixes:
- Fixed a bug gear read bug in HandlePosi (#182)
- Fixed some Python 2 syntax being used in Python 3 demos (#191)
- Tweaked socket timeouts (#206)
- Fix Python 3 code not using the right division operator (#208)
- Re-add sendCOMM command that was previously merged but somehow got lost (#217)
New Features:
- Added the capability to obtain the terrain height above MSL at a given location using a XPLM terrain probe (#186)
- Added configuration options to the chase camera (#188)
- Update getPOSI to use doubles (#202)
- Added more general terrain probe messages (#204)
- Created sendPOST function that combines functions of sendPOSI and getTERR (#205)
Version 1.3 RC5
Version 1.3 RC4
Bug Fixes
- Fixed typo in the readme (#170)
Version 1.3 RC3
Bug Fixes
- Fixed in incorrect file type in the plugin's Visual Studio project that caused build errors on some systems (#167)
Version 1.3 RC2
Note 1: RC1 was got eaten while I was messing around with the new CI. It was never actually released.
Note 2: This release represents a shift in how I release versions of this plugin. I don't have as much time as I used to, and there are a fair number of users of the plugin, so I'm going to start doing releases whenever I have something worth releasing, even if I haven't had time to thoroughly test it on all platforms. These releases will be market pre-release until there's been sufficient time for bug reports from the community to filter in.
Note 3: This release is the first to be made possible by a new CI integration with Azure Devops. I can now build the plugin with the click of a single button. Thanks very much to @JanC for doing 99% of the work to get this working!
General Changes
- Update the sendPOSI command to use 64 bit floats (#111)
- Updated XPlane SDK to version 2.1.3
- Update version support to include X-Plane 11 (#163)
New Features
- Added ability to pause individual aircraft (#114)
- Added sendCOMM function, which makes it possible to send X-Plane commands from the client (#120)
Changes to the X-Plane Connect Plugin
- Minor improvements to the handling of landing gear by the SetGear and HandlePOSI functions
Bug Fixes
- Rolled back Java version to 1.7 due to some reports of MATLAB incompatability
- Fixed a bug with re-enabling the AI for NPC planes after setting their position (#118)
Version 1.2.1
General Changes
- Updated year in copyright notices.
Bug Fixes
- Fixed syntax errors in MATLAB client
selectDATA
andreadDATA
functions - Replaced istrue with isequal in Matlab client.
- Fixed use of incorrect readData java call in Matlab readData function
- Removed use of C99 for-loop initialization in c client
- Replaced incorrect use of time.h with sys/time.h for Linux/Mac
- Fixed error checking in c readData function
- Updated C client test project to build on VS 2015
- Fixed typo in readDATA error message
Changes to the X-Plane Connect Plugin
Bug Fixes
- Restructured code in the plugin that detects when the plugin is receiving more requests than it can handle and drops old requests. This code existed in previous releases, but as of v1.2.0 it was set up in a way that caused it to never execute..
- Fixed Sudden aircraft crash after "pauseSim" command (#91)
- SetPosition now updates the aircraft's orientation after moving the aircraft, should improve performance
Version 1.2.0
General Changes
- Updated CMakeLists.txt for the plugin to remove old source files.
New Features
- Added plugin support and client functions to get position and control surface information.
- The
getPOSI
andgetCTRL
functions mirror thesetPOSI
andsetCTRL
functions, respectively.
- The
- Added a new example script for all clients that continuously monitors basic aircraft characteristics.
- Bug: The MATLAB version does not update correctly despite making exactly the same calls as the Java version (which works). I have no idea why.
- Added a new example script for all clients that records airplane movements to a file and plays back those movements from a file.
- Issue: The Java, MATLAB and Python versions of the example are written but not tested.
Changes to the X-Plane Connect Plugin
Bug Fixes
- Fixed a typo in
UDPSocket
which caused the plugin to incorrectly log network failures. - Fixed a missing format argument in
DataManager
which caused garbled log messages.
Version 1.1.3
Fixed default timeout for MATLAB client.
Fixes several issues related to the MATLAB example script. This release only affects the MATLAB client. The binaries from the Version 1.1 release should be used for the plugin.
Version 1.1.2
Fixes several issues related to the MATLAB example script. This release only affects the MATLAB and Java clients; The binaries from the previous release should be used for the plugin.
Version 1.1
General Changes
- All of the example scripts now check that they are connected before
sending commands. - The "Docs" folder has been removed from the repository. All information
previously documented there has been transfered to the wiki.
New Features
- A Python client has been added.
- The sendCTRL command now supports setting speed-brakes.
- The sendDREF command has been augmented with a sendDREFs variant that
supports setting multiple datarefs at once. - A sendVIEW command has been added that supports setting the camera view in
X-Plane.
Changes to the X-Plane Connect Plugin
Enhancements
- Greatly improved logging efficiency by keeping a single open file
descriptor for the entire program execution. - Improved consistency of includes. All C headers should now be included
using the <cname> style rather than "name.h" style. - Numerous methods and parameters that could be marked
const
have been. - Several value type string parameters have been replaced with const
references. - Logging has been refactored to take the logging level as a method parameter.
- Trace logging has been made substantially more comprehensive.
- Handling of default values (-998, -999) has been centralized in the
DataManager::IsDefault
andDataManager::GetDefaultValue
methods.
Bug Fixes
- Fixed a bug where DataManager::SetGear would sometimes incorrectly log an
error when passed a default value. - The flight loop callback registration handling has been moved to the
enable/disable function pair instead of the start/stop pair. The plugin
manager seems to be smart enough to only call callbacks for enabled
plugins, but it still makes sense to unregister the callback completely
while disabled.
Changes to the C client
- The unit test suite has been refactored. There is now one file per client
function. This should make it much easier to maintain and expand test
coverage in the future.
Note:
The initial version of this release did not contain update Linux binaries. This issue has been corrected in the v1.1.1 download below.