51 Commits

Author SHA1 Message Date
Jason Watkins
a3be4cb1b6 Version 1.3-rc.1 (#138)
* Minor improvements to the handling of landing gear by the SetGear and HandlePOSI functions

* sendPOSI command change (double for lat/lon/h) (#111)

* Updated POSI to use doubles for lat/lon/alt, as step size for floats was unacceptably large at high longitudes.

* Updated Java library for MATLAB, updated Java project, and updated Windows plugin binaries

* Rolled back Java version to 1.7 for MATLAB compatibility

* Update MessageHandlers.cpp

* Update DataManager.cpp

* Added pause functionality for individual a/c

Adds new cases such that:
0: Unpauses all a/c
1: Pauses all a/c
2: Switches case for all a/c
100:119: Pauses a/c 0:19
200:219: Unpauses a/c 0:19

Updates log messages.

Keeps the 0,1,2 arguments as they previously were.

* Finished individual pause functionality

* Update DataManager.cpp

* Updated flags to allow for individual pause commands

* Individual pause command documentation

* Updated flags to allow for individual pause commands

* Adding individual pause to documentation

* Updated flags to allow for individual pause commands

* Requested changes, cleaning

* Update CMakeLists.txt

Include "-fno-stack-protector" for linking and compiling for systems that do not have this have this flag as a default.

* Enabling AI after setting position (#118)

Previously, the code enabled the AI before setting the position of a/c, which negated its purpose.

* Updated XPlane SDK to version 2.1.3

* Resolve function ambiguity for std::abs on mac

Fixes #126

* Update copyright notice

* Update Windows binaries

* Update Linux binaries

* Update version numbers

* fix osx abs ambiguity (#142)

* fix indexing error (#143)

* Runway camera location control (#144)

* update ignore

* basics working

* set cam pos remotely

* log cam position

* keep default behaviour, if short view message is received

Compatibility with existing software

* all to tabs

* rename variable

* option to use camera direction fields

* Added UDP multicast for plugin discovery (#153)

* Added Timer

* Added UDPSocket::GetAddr

* Added MessageHandlers::SendBeacon()

* PoC of starting a timer on PluginEnable

* C++11

* Added Timer to xcode project

* C++11 in cmake

* added Timer to cmake

* use function pointer in Timer

* moved Timer to namespace

+ wait for thread to join when stopping the timer

* Windows: changed uint to unisgned short

* Windows: Added Timer.h/cpp to project

* GetAddr static

* Send xplane and plugin version with BECN

* SendBeacon with params

* fixed file copyrights

* Include functional

to fix Linux compile error

* review fixes

* Send plugin receive port in BECN

* review fixes

* Fixed tabs vs spaces indentations (#157)

* Java client BECN implementation (#155)

* Added MS Azure Dev Ops CI integration (#162)

* Do not build for i386 on macOS

Use ARCHS_STANDARD  to avoid the error “The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.”

* Fixed missing include

The Visual Studio solution was not compiling

* Fixed isnan ambigious refernce

Ambigious reference when compiling on travis

https://stackoverflow.com/questions/33770374/why-is-isnan-ambiguous-and-how-to-avoid-it

* Set MSVC warning level to 3

Too many warnings were generated when building a Release build making Travis job to fail because of too much output

* Use default toolset for Visual Studio

AppVeyor recommends to set the default toolset

* #include <cstdint>

* Use MSVC ToolsVersion="14.0"

# Conflicts:
#	xpcPlugin/xpcPlugin/xpcPlugin.vcxproj

* Removed binaries from repository

# Conflicts:
#	xpcPlugin/XPlaneConnect/64/win.xpl
#	xpcPlugin/XPlaneConnect/win.xpl

* Added ms azure ci

xcode

linux

linux + macos

linux + macos

removed branch filter

win tests

win tests

Test all platfroms

artifacts tests

* output all binaries to ‘XPlaneConnect’

All platforms produce a binary in
xpcPlugin/XPlaneConnect/
xpcPlugin/XPlaneConnect/64/

* Added ms azure GH deploy

deploy stage

GH release test

trigger tags

* Clean up yml file

- Added variables
- Added job decriptions

* Ignore script to ignore .exp files

+ fixed output path

* Renamed ms azure GH connection

* Update service connection for azure pipeline

* Added Python3 compatible xpc client. (#156)

* Update Azure Pipelines service connection
2019-07-20 08:43:51 -07:00
oberion
2c2e4c2674 [xDATA]: fix non working Data gathering functions in MATLAB. Matlab does not know the istrue() function. Further the java readData() function was misspelled. 2016-01-27 13:10:29 +01:00
Chris Teubert
2e9a51e7dc Bug-fix accidentally limited monitor loop
Fixing a mistake from #9187c82
2015-08-25 11:18:43 -07:00
Chris Teubert
9187c82e56 Fixes for MATLAB and C Examples, Updated Mac Binary 2015-08-25 10:50:15 -07:00
Jason Watkins
cd25ae5fcc Merge branch 'master' into release-1.2.0 2015-08-20 08:39:33 -07:00
Jason Watkins
d446b18d55 Merge branch 'monitor-example' into develop
Conflicts:
	Python/xplaneConnect.pyproj
2015-08-17 09:28:32 -07:00
Jason Watkins
c51bdfb925 Merge branch 'playback-example' into develop 2015-08-17 09:27:12 -07:00
Jason Watkins
c226e170a7 Merge branch 'master' into develop
Conflicts:
	MATLAB/+XPlaneConnect/XPlaneConnect.jar
	MATLAB/Example/Example.m
2015-08-17 09:24:45 -07:00
Jason Watkins
67881bf03b Added Java playback example 2015-08-17 09:17:21 -07:00
Jason Watkins
e7e4b62ff7 Fix default timeout value for MATLAB client. 2015-07-07 20:16:54 -07:00
Jason Watkins
ea2b1a07d2 Fixed potential index out of range error in Java client. 2015-07-06 08:46:14 -07:00
Jason Watkins
ad2f455079 Fixed bugs in MATLAB Example and added support for setting timeout. 2015-07-06 08:42:27 -07:00
Jason Watkins
87672e132b Added MATLAB monitor example. 2015-07-01 07:56:15 -07:00
Jason Watkins
9342e28fa3 Fix error in MATLAB Example.m 2015-06-16 13:11:05 -07:00
Jason Watkins
00b61f6051 Added support for GETP and GETC to MATLAB client. 2015-06-02 14:28:44 -07:00
Jason Watkins
19d901915a Remove extraneous line in MATLAB sendDREF command. 2015-05-20 10:40:39 -07:00
Jason Watkins
238c82454c Merge branch 'release-1.0.1' into develop
Conflicts:
	C/src/xplaneConnect.c
	MATLAB/+XPlaneConnect/XPlaneConnect.jar
	MATLAB/+XPlaneConnect/sendDREF.m
	xpcPlugin/XPlaneConnect/mac.xpl
2015-05-14 13:20:15 -07:00
Jason Watkins
cea1f7e91c Updated MATLAB client Jar file 2015-05-14 09:00:31 -07:00
Jason Watkins
d826bb97c6 Fixed typo in MATLAB client. 2015-05-14 08:39:25 -07:00
Jason Watkins
4835b5ac9f Fixed closeUDP in the MATLAB client to correctly remove closed clients from the global list. 2015-05-14 08:33:20 -07:00
Jason Watkins
60795b10a5 Added support for VIEW command in MATLAB client. 2015-05-08 14:38:37 -07:00
Jason Watkins
22a864a8dc Added support for sending multiple datarefs to the MATLAB client. 2015-05-07 15:30:09 -07:00
Jason Watkins
7017c314fd 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
2015-05-05 13:04:11 -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
d2282c7695 Added check to MATLAB example to ensure connection to X-Plane. 2015-05-01 14:26:12 -07:00
Jason Watkins
8932edbd67 Renamed "setDREF" function back to "sendDREF". 2015-04-28 12:10:53 -07:00
Jason Watkins
d1df7f7b89 Deleted out of date user guides. The GitHub wiki now provides the information previously contained in these guides. 2015-04-28 12:04:42 -07:00
Jason Watkins
7da82f40dc Several variable name tweaks and error checking changes.
- Minimal functional changes. The primary purpose of these tweaks is to make the clients more consistent across languages.
2015-04-23 11:12:42 -07:00
Jason Watkins
83a010faa4 Fixed misnamed function in MATLAB client. 2015-04-22 15:07:09 -07:00
Jason Watkins
8bbe3a0ec9 Fixed issues resolving Java classes.
- XPlaneConnect.jar is now only added once in openUDP.
 - Fully qualified all Java identifiers to resolve import issues.
2015-04-22 13:41:09 -07:00
Chris Teubert
85399365b1 Added OS-specific file separation in paths 2015-04-22 09:18:38 -07:00
Jason Watkins
1523405495 Fixed errors in MATLAB client and updated tests. 2015-04-21 15:21:05 -07:00
Jason Watkins
3ad2bb76cb Added selectDATA command to Java client and modified MATLAB client to use it. 2015-04-20 10:41:00 -07:00
Jason Watkins
e191537bc9 Refactored MATLAB client to use the Java client internally.
- Still need to implement selectDATA for all languages.
2015-04-18 09:16:23 -07:00
Jason Watkins
c0e7c1af13 Fixed MATLAB client implementation of setConn. 2015-04-14 11:59:04 -07:00
Jason Watkins
cfeb01fc02 Added MATLAB client support for WYPT command. 2015-04-09 12:17:58 -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
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
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
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
Chris Teubert
87c66cafdf Fixed data structure, display, and control bug 2015-03-30 14:45:49 -07:00
Jason Watkins
85fdcbe3dc Several small fixes
- Added Visual Studio solution for C client example.
 - Fixed inconsistent indentation in C client example.
 - Changed default behavior in MATLAB client's sendCTRL function to leave unchanged instead of setting default values.
 - Fixed sendPOSI and sendDATA sections of the MATLAB example.
 - Fixed port number in the C and C++ setCONN tests.
2015-03-30 13:38:51 -07:00
Christopher Teubert
d199bd0089 Merge pull request #32 from jason-watkins/feature/examples
Basic MATLAB example script mirroring the current C example.
2015-03-28 18:21:05 -07:00
Chris Teubert
250c98a78c Fixed minor bug in setConn.m
Should be single quote around strings
2015-03-28 15:54:06 -07:00
Jason Watkins
ba9cc91b47 Basic MATLAB example script mirroring the current C example. 2015-03-27 15:36:57 -07:00
Chris Teubert
59d3bba414 Added handling of no response for MATLAB requestDREF 2015-03-24 09:37:38 -07:00
Chris Teubert
4bfe4fe88d Completed Preliminary MATLAB Test Scripts 2014-11-28 17:08:41 -08:00
Chris Teubert
678b04491d Documentation/Version Number Changes 2014-11-24 12:29:40 -08:00
Chris Teubert
c8da9bce2a Completed requestDREF 2014-11-24 12:15:13 -08:00