Board index FlightGear Support Interfacing

How can I get values like speed etc. ?

Connecting two computers, using generic protocol, connecting with Matlab?

How can I get values like speed etc. ?

Postby obw298 » Sat Mar 24, 2018 8:36 am

I need values like speed, altitude etc.. Can I access them in real time while FG is running? I want to write a program that reads the data and sends them to an Arduino. Is that possible? (Mac OS)
Posts: 5
Joined: Fri Mar 23, 2018 7:46 pm

Re: How can I get values like speed etc. ?

Postby Hooray » Sat Mar 24, 2018 8:44 am

Hi & welcome

yes, that's possible.

I suggest to browse this sub-forum and the wiki, and especially $FG_ROOT/Docs: ... troduction ... properties ... .xmlsyntax ... /README.IO ... E.protocol

For starters, see:

This should provide many pointers to get you going, depending on your needs/technology stack, there's tons of existing examples/code that you can reuse.

PS: It's generally a good idea to search the forum/wiki for relevant keywords, and to look at sticky topics: viewtopic.php?f=36&t=10173
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Posts: 11329
Joined: Tue Mar 25, 2008 8:40 am

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 3 guests