-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More developers needed! #67
Comments
As far as I understand the UDP interface does accommodate updates and commands, does it? Btw, congratulations on such a nice job! |
UDP interface can't do everything that can be done with plugin API but it's quite powerful: http://www.nuclearprojects.com/xplane/xplaneref.html |
In my case I use ExtPlane primarily for controlling LED's and switches. Since UDP is an unreliable protocol, I would have to constantly send the position of all switches, and that feels as a waste of bandwidth. Furthermore, I don't know how efficient X-Plane handles setting stuff to the same value, so I prefer to set only on change. |
I wouldn't worry about UDP's bandwidth or reliability. Today's gigabit switches are so fast that you can resend everything at fast refresh rate. Let's say 10-20Hz for lights and switches should be enough. For "realtime" instruments like artificial horizon you want to send at 60Hz. Normally networks shouldn't have any packet loss but you can send changed values several times to be sure. |
This is pretty outdated. The most recent information can be found in the X-Plane directory under 'Instructions/X-Plane SPECS from Austin/Exchanging Data with X-Plane.rtfd/TXT.rtf' X-Planes' native UDP interface is quite powerful in terms of performance and resources but lacks some very important functionalities: commands can only be called "once" which means all three phases (begin, run, end) are called right after another and strings (char arrays) can only be send with one character per message, which are always 509 byte long. |
Currently I seem to be practically the only developer for ExtPlane. It's still a popular piece of software, but I don't have time for developing it.
I'm currently employed as a professional simulator developer doing X-Plane stuff for work so there is very little motivation to do the same on my free time. Also X-Plane 11 UDP interface is often better solution than ExtPlane for accessing datarefs.
If you use ExtPlane and are a c++ developer, don't be afraid to check the existing issues and try to fix them. Github write access will be given quite easily.
The text was updated successfully, but these errors were encountered: