Commit Graph

505 Commits

Author SHA1 Message Date
Norman Princen
d61f70faad Improved HandleGetT accuracy
Also added the ground velocity output to TERR message so can handle landing on aircraft carrier (moving ground).
2020-04-19 10:03:58 -07:00
Norman Princen
377e19f4c4 Added getTERR function 2020-04-19 01:04:20 -07:00
Norman Princen
ab9d0b7ea7 Added getTERR function 2020-04-19 00:34:46 -07:00
Norman Princen
f17844565b Changed drefs to const char* to fix compiler warnings
Also fixed compiler warning related to doGETDTEST on line 108
2020-04-18 22:35:09 -07:00
Norman Princen
38ddc0adb2 Changed drefs to const char* to fix compiler warnings
Also changed actual [7] to a double in doGETPTEST to fix compiler warning
2020-04-18 22:29:17 -07:00
Norman Princen
1ff2e1b93e Changed drefs to const char* to fix compiler warnings 2020-04-18 22:23:36 -07:00
Norman Princen
132978b53d Changed drefs to const char* to fix compiler warnings 2020-04-18 22:19:53 -07:00
Norman Princen
0713a95539 Tests.pyproj copied from Python Tests 2020-04-18 15:26:54 -07:00
Norman Princen
cf8f005b2e Python3 Tests created
Created a Python3 compatible version of Tests.py
2020-04-18 15:24:54 -07:00
Norman Princen
79110a6f91 getPOSI and sendPOSI fix to handle Lat/Lon/h doubles
getPOSI now can interpret either float or double Lat/Lon/h messages.  sendPOSI now sends double Lat/Lon/h messages.  Also fixed integer conversion bug in sendCTRL.
2020-04-18 15:05:35 -07:00
Norman Princen
53154e5908 Changed getPOSI to double posi 2020-04-18 12:59:49 -07:00
Norman Princen
32bff7ffe4 Changed getPOSI to double posi
Also fixed compiler error for timeval struct tv not defined for WIN32.
2020-04-18 12:55:55 -07:00
Norman Princen
915e0591ac Changed getPOSI to double values
Also fixed compiler warnings due to unsigned char for buffers.  Changed to char.
2020-04-18 12:44:19 -07:00
Norman Princen
113d664bfe Changed getPOSI to double values 2020-04-18 11:48:17 -07:00
Norman Princen
5d31544476 Changed Lat/Lon/h to double in GetP 2020-04-18 11:30:36 -07:00
Kai Lehmkuehler
c0abcf729f Configurable Chase Camera (#188)
* ignore binaries

* Add terrain probe

* update camera system

* change to tabs

* formatting

* compiles on windows 10

* use local view type enum

* basic view type must always be changed

* Code formatting
2019-11-15 07:02:54 -08:00
Kai Lehmkuehler
1fd6400a98 Terrain height probe (#186)
* ignore binaries

* Add terrain probe

* requested changes part 1

* try mac os build check

* Revert "try mac os build check"

This reverts commit 46fa8adde4f825c3a7f2a8bea7f543ad55a79765.

* update debug message label
2019-11-06 08:45:54 -08:00
Jason Watkins
662ec2bf20 Fix macOS azure builds (#187)
- Updated SDK version to 10.15
2019-11-06 08:23:51 -08:00
Christopher Teubert
52b034d438 Merge pull request #182 from nasa/posi-defaults
POSI fixes
2019-10-26 09:41:46 -07:00
Jason Watkins
2ff4497de5 Fix incorrect gear read in HandlePosi 2019-10-17 15:22:03 -07:00
Jason Watkins
fb8940583e Make SetPosition and SetOrientation do nothing if all values are "default" placeholder 2019-10-17 12:35:54 -07:00
Jason Watkins
c9020e6ca7 Merge branch 'master' into develop 2019-08-08 19:36:22 -07:00
Jason Watkins
02ec5f4a36 Merge pull request #170 from nasa/readme
Fix typo in readme
2019-08-08 19:35:33 -07:00
Jason Watkins
2769b82bcf Fix typo in readme 2019-08-08 19:34:57 -07:00
Jason Watkins
ac510188f4 Merge pull request #169 from nasa/develop
Merge V1.3 RC3
2019-08-08 19:30:06 -07:00
Jason Watkins
fbc5734fc4 Merge branch 'master' into develop 2019-08-08 19:28:45 -07:00
Jan Chaloupecky
fb2e916f0a Fixed Timer.h VS Item Type (#167) 2019-08-05 13:03:21 -07:00
Jason Watkins
587ee4702d Update README.md 2019-07-25 19:24:55 -07:00
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
マリウス
3ed3f8b014 Added X-Plane 11 compatibility to README (#163)
* Added X-Plane 11 compatibility

* Added 11 to list of purchasable options, added macOS 10.14 compatibility as well
2019-07-20 08:42:58 -07:00
Jason Watkins
6c77657678 Update Azure Pipelines service connection 2019-07-20 08:25:17 -07:00
Roman Geber
b98ad22262 Added Python3 compatible xpc client. (#156) 2019-06-13 11:45:38 -07:00
Jason Watkins
3120e32e47 Merge branch 'master' into develop 2019-06-13 11:44:34 -07:00
Jason Watkins
4d62f1cbab Update service connection for azure pipeline 2019-06-08 08:07:55 -07:00
Jan Chaloupecky
1c082d7730 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
2019-06-08 08:00:32 -07:00
Jan Chaloupecky
c018d6c3be Java client BECN implementation (#155) 2019-06-01 12:52:13 -07:00
Jan Chaloupecky
90ccec0d07 Fixed tabs vs spaces indentations (#157) 2019-03-15 08:29:10 -07:00
Jan Chaloupecky
50335c4a5c 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
2019-03-14 07:49:43 -07:00
Kai Lehmkuehler
f9bfd6e3b9 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
2018-11-14 07:56:29 -08:00
Kai Lehmkuehler
136e0d5f2b fix indexing error (#143) 2018-11-05 12:00:36 -08:00
Kai Lehmkuehler
7fd4d4d6b2 fix osx abs ambiguity (#142) 2018-11-05 11:12:54 -08:00
Jason Watkins
cf6a45fb87 Update version numbers 2018-10-20 13:52:44 -07:00
Jason Watkins
c52deb3c45 Update Linux binaries 2018-10-19 18:03:14 -07:00
Jason Watkins
ad09d45a83 Update Windows binaries 2018-10-19 17:47:49 -07:00
Jason Watkins
df5e2fd198 Update copyright notice 2018-10-19 17:44:27 -07:00
Jason Watkins
e1105206a3 Resolve function ambiguity for std::abs on mac
Fixes #126
2018-10-19 17:35:20 -07:00
Jason Watkins
71d4d5aa27 Updated XPlane SDK to version 2.1.3 2018-10-19 17:35:20 -07:00
Michael Thompson
012df27187 Enabling AI after setting position (#118)
Previously, the code enabled the AI before setting the position of a/c, which negated its purpose.
2018-10-19 17:35:19 -07:00
Milton Stafford
90d58497e0 Update CMakeLists.txt
Include "-fno-stack-protector" for linking and compiling for systems that do not have this have this flag as a default.
2018-10-19 17:35:19 -07:00
Michael Thompson
3ba09518ce Requested changes, cleaning 2018-10-19 17:35:19 -07:00