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
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
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
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
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
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
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
Jason Watkins
cf6a45fb87
Update version numbers
2018-10-20 13:52:44 -07:00
Jason Watkins
df5e2fd198
Update copyright notice
2018-10-19 17:44:27 -07:00
Michael Thompson
f1a460ebec
Updated flags to allow for individual pause commands
2018-10-19 17:35:18 -07:00
Michael Thompson
4293ad124d
Individual pause command documentation
2018-10-19 17:35:18 -07:00
Jan Zwiener
0e493920fa
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.
2018-10-19 17:35:05 -07:00
Chris Teubert
9bb5f99f37
Removed for loop initial declarations
2017-04-24 11:01:44 -07:00
Chris Teubert
1dfe7bff66
fixed include time in c client ( #102 )
2017-04-24 10:52:03 -07:00
Jason Watkins
5d23d482f7
Fixed incorrect error checking in readDATA
...
- Resolves #97
2016-07-09 17:55:56 -07:00
Jason Watkins
cdd218e71b
Fixed typo in readDATA error message
2016-06-20 09:02:17 -07:00
Jason Watkins
d12cc02368
More copyright updates
2016-03-04 13:59:32 -08:00
Chris Teubert
d548186252
Merge remote-tracking branch 'origin/develop' into develop
...
# Conflicts:
# C/src/xplaneConnect.c
# xpcPlugin/XPlaneConnect/mac.xpl
# xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
2016-02-29 12:51:42 -08:00
Chris Teubert
cfdd183214
Merge branch 'master' into develop
...
# Conflicts:
# xpcPlugin/XPlaneConnect/mac.xpl
# xpcPlugin/xpcPlugin.xcodeproj/project.pbxproj
2016-02-29 12:48:30 -08:00
Jason Watkins
76b6d84a86
Quick fix to C example.
2015-09-08 12:40:46 -07:00
Chris Teubert
9187c82e56
Fixes for MATLAB and C Examples, Updated Mac Binary
2015-08-25 10:50:15 -07:00
Chris Teubert
7c58c627ff
Minor fixes and Mac Binary
...
- Added Mac Binary
- Fixed missing returns in PosiTests.h
- Fixed bug in DataManager where FormatLine was being sent a string
instead of a c string
- Increased mac timeout
2015-08-20 09:17:19 -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
b4d1a8a980
Added playback example to C client
2015-07-30 08:51:38 -07:00
Jason Watkins
d045e649b5
Simplified example to allow for cross platform compatibility.
2015-06-19 09:37:20 -07:00
Jason Watkins
337182f241
Fleshed out monitor example
2015-06-19 08:44:57 -07:00
Jason Watkins
9359a93068
Created basic example that continuously prints the player aircraft's position.
2015-06-19 08:44:56 -07:00
Jason Watkins
0b562d1fce
Added getPOSI and getCTRL support to the C client.
2015-06-02 14:28:36 -07:00
Jason Watkins
05e0deeb0a
Fixed bug in C client WYPT command.
2015-05-14 14:41:53 -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
Chris Teubert
d211c00384
Fixed timout time for Mac Client
2015-05-14 09:10:00 -07:00
Jason Watkins
579cad0655
Added support for VIEW command to the C client.
2015-05-08 14:38:31 -07:00
Jason Watkins
f2e64a30f2
Added support for sending multiple datarefs to the C client.
2015-05-07 15:24:57 -07:00
Chris Teubert
37c22bd963
Added prototypes for functions not in header
2015-05-06 10:39:40 -07:00
Chris Teubert
a1395d2e97
Added prototypes for functions not in header
2015-05-05 13:11:17 -07:00
Jason Watkins
c6f9669e36
Added support for setting speed brakes to C client.
2015-05-05 13:04:08 -07:00
Jason Watkins
aeceb87f1d
Merge latest changes from release-1.0.1
...
Removing all C++11 features touches many parts of many files, so better merge the changes into develop ASAP to prevent future conflicts.
2015-05-05 08:33:54 -07:00
Jason Watkins
8ed6b39779
Increased the timeout for select in the C client on Windows.
2015-05-04 14:58:55 -07:00
Chris Teubert
c44f521842
pauseSim should be returning int on error
2015-05-04 10:30:10 -07:00
Jason Watkins
0b984c3d49
Updated C client to support "switch" argument in SIMU command.
2015-05-01 14:55:36 -07:00
Jason Watkins
472ed4feac
Added check to beginning of C example to ensure that the client is connected to X-Plane.
2015-05-01 14:20:44 -07:00
Jason Watkins
902aa006e8
Updated C client socket timeout.
...
The C client previously set a very short read timeout because it was required
by the plugin. To compensate for this on the client side, we would try to
read several times in a loop. Since the plugin no longer uses the C client for
networking, we can do away with the loops and set a proper timeout.
2015-04-30 09:04:32 -07:00