Commit Graph

538 Commits

Author SHA1 Message Date
Jason Watkins
0dc2bd3a41 Merge pull request #206 from NPrincen/develop
Minimize Send and Receive Socket Timeout Delays
2020-05-16 15:15:12 -07:00
Norman Princen
1f78a23351 Minimize SendTo and Read Socket Timeout Delays
SendTo and Read were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions and coded in the same manner as the xplaneConnect.c functions.
2020-05-12 19:06:28 -07:00
Norman Princen
4241599ad7 Minimize sendUDP and readUDP Socket Timeout Delays
sendUDP and readUDP were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions.
2020-05-12 18:58:29 -07:00
Norman Princen
bb16ab9d94 Added includes for Linux and Mac socket select functions 2020-05-12 13:25:10 -07:00
Norman Princen
e2a6820d34 Minimize SendTo and Read Socket Timeout Delays
SendTo and Read were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions and coded in the same manner as the xplaneConnect.c functions.
2020-05-12 13:18:47 -07:00
Norman Princen
121b3c92f8 Include sys/select.h for Linux and Mac 2020-05-12 13:15:38 -07:00
Norman Princen
138c738ba0 Minimize SendTo and Read Socket Timeout Delays
SendTo and Read were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions and coded in the same manner as the xplaneConnect.c functions.
2020-05-12 12:23:07 -07:00
Norman Princen
d2486dd73b Minimize SendTo and Read Socket Timeout Delays
SendTo and Read were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions and coded in the same manner as the xplaneConnect.c functions.
2020-05-12 10:25:01 -07:00
Norman Princen
581675818b Minimize sendUDP and readUDP Socket Timeout Delays
sendUDP and readUDP were using longer than necessary socket timeouts that may add to process time delay and stuttering.  They were also using different values between Window and Linux/Mac.  The timeouts are now standardized for all versions.
2020-05-12 09:57:38 -07:00
Norman Princen
b69a7e2bab Merge pull request #4 from nasa/develop
Merge pull request #205 from NPrincen/develop
2020-05-09 17:12:14 -07:00
Jason Watkins
7ae6ab2a39 Merge pull request #205 from NPrincen/develop
Created sendPOST function that combines functions of sendPOSI and getTERR
2020-05-06 16:49:35 -07:00
Norman Princen
6120869c2c Added HandlePosT function that combines functions of HandlePosi with HandleGetT 2020-05-02 14:46:46 -07:00
Norman Princen
26d85f755f Added HandlePosT function that combines functions of HandlePosi with HandleGetT 2020-05-02 14:45:15 -07:00
Norman Princen
be4e799f8d Added sendPOST function combining functions of sendPOSI and getTERR 2020-05-02 14:38:48 -07:00
Norman Princen
9b6d0986be Added sendPOST function combining functions of sendPOSI and getTERR 2020-05-02 14:33:21 -07:00
Norman Princen
2d3e9ccc24 Added handling of the POST message 2020-05-02 14:10:37 -07:00
Norman Princen
9869a448d8 Added HandlePosT function that combines HandlePosi with HandleGetT 2020-05-02 14:07:10 -07:00
Norman Princen
0473b5ea23 Added HandlePosT function 2020-05-02 13:58:50 -07:00
Norman Princen
0a50735ebc Added sendPOST function combining sendPOSI and getTERR 2020-05-02 10:13:14 -07:00
Norman Princen
9185424daa Added sendPOST function combining sendPOSI and getTERR 2020-05-02 10:06:42 -07:00
Norman Princen
9a58c30385 Merge pull request #3 from nasa/develop
Update develop
2020-05-01 21:32:44 -07:00
Jason Watkins
28557b9738 Merge pull request #204 from NPrincen/getTERR
Improved MessageHandler HandleGetT and created getTERR C function
2020-05-01 20:47:53 -07:00
Norman Princen
6dcbec8974 Added SendTerr function 2020-05-01 05:04:05 -07:00
Norman Princen
c49168d815 Improved accuracy of HandleGetT terrain probe and requested changes 2020-05-01 04:59:43 -07:00
Jason Watkins
d8f28216e9 Merge pull request #202 from NPrincen/develop
Double Lat/Lon/Alt for getPOSI
2020-04-28 11:39:32 -07:00
Norman Princen
70b4af90b2 Improved accuracy of HandleGetT terrain probe
Follow the process in the following post to get accurate results:
// https://forums.x-plane.org/index.php?/forums/topic/38688-how-do-i-use-xplmprobeterrainxyz/&page=2
Also added the ground velocity vector to the output. This is used for carrier landing where "ground" is moving.
2020-04-19 13:47:18 -07:00
Norman Princen
54f5e43ddc Revert "Improved accuracy of HandleGetT terrain probe"
This reverts commit f630dbdf07.
2020-04-19 13:43:55 -07:00
Norman Princen
f630dbdf07 Improved accuracy of HandleGetT terrain probe
Follow the process in the following post to get accurate results:
// https://forums.x-plane.org/index.php?/forums/topic/38688-how-do-i-use-xplmprobeterrainxyz/&page=2

Also added the ground velocity vector to the output.  This is used for carrier landing where "ground" is moving.
2020-04-19 13:33:00 -07:00
Norman Princen
a3175a8180 Added getTERR function
Also corrected minor typos in comments.
2020-04-19 13:02:25 -07:00
Norman Princen
ba9e8b0eee Revert "Added getTERR function"
This reverts commit ab9d0b7ea7.
2020-04-19 11:37:14 -07:00
Norman Princen
97c87b48b8 Revert "Added getTERR function"
This reverts commit 377e19f4c4.
2020-04-19 11:37:07 -07:00
Norman Princen
f37f4a4aae Revert "Improved HandleGetT accuracy"
This reverts commit d61f70faad.
2020-04-19 11:36:51 -07:00
Norman Princen
6a483db8cc Python3 demos using Python2 syntax were run through 2to3, fixes nasa#191 2020-04-19 10:46:59 -07:00
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