Skip to content
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

Nasal and Python? #1

Open
lasri049 opened this issue Aug 30, 2022 · 1 comment
Open

Nasal and Python? #1

lasri049 opened this issue Aug 30, 2022 · 1 comment

Comments

@lasri049
Copy link

Hi, do you know of any way to link nasal and python so that I can start and control flightgear from python through nasal?

Thank you
Lakshmi

@RenanMsV
Copy link
Owner

Maybe by using Telnet you could change properties. And by using Nasal you could listen to those properties and do stuff.

https://wiki.flightgear.org/Telnet_usage

Heres an example, its old so Im not sure it would still work with current python versions.
https://github.com/RenanMsV/FGFSTools/blob/76e9a678b451e01ce4c213f86a6ef6e0addf83c1/telnetFG.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants