News:

Precision Simulator update 10.181 (1 February 2025) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

programming language

Started by CarlBB, Sun, 18 Oct 2020 18:56

CarlBB

Hi All,

I am hoping someone can recommend a programming language based on:-

Requirements: I want to write a program that I can interface to PSX and have my program do several actions at once i.e. entering and leaving runway.

Background: I am not a programmer by day, but I have successfully achived this for some aircraft that I fly in x-plane. For that solution, I used lua (runs on flywithlua).

Triggers: I will probably keep to what I have done in x-plane - entering runway is triggered by moving no smoking sign switch from on to auto (fail safe has to be there for 5 seconds)

Leaving runway: speedbrake lever moved from up to down (with a few other checks such as slow groundspeed).

Thanks for any advise

Carl



Jeroen Hoppenbrouwers

Quote from: CarlBB on Sun, 18 Oct 2020 18:56
Requirements: I want to write a program that I can interface to PSX and have my program do several actions at once i.e. entering and leaving runway.
All programming languages can do this.

If you come from a lua background, I recommend not trying to deep-dive too much. This rules out C, C++, C#, and Java. I believe these won't bring you the satisfaction you look for in a reasonable time frame -- but they will keep you going forever if you want to become a pro at developing.

To get a quick feel whether it works for you, look here:
http://www.hoppie.nl/psxpython/

Then again, don't let me push you away from compiled system-level programming languages. It's just that lua is closer to Python than to one of these big ones.


Hoppie