Board index FlightGear Support Interfacing

Foreflight support?

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

Foreflight support?

Postby @ns1bl3 » Fri Aug 24, 2012 3:01 pm

Hi,

Now x-plane supports foreflight, a good iPhone planning tool used by real pilots.
http://www.x-plane.com/2012/08/foreflig ... FFID=83402

It would be cool to have this in flightgear too ^^

Thanks
@ns1bl3
 
Posts: 10
Joined: Tue Aug 21, 2012 1:39 pm

Re: Foreflight support?

Postby Hooray » Fri Aug 24, 2012 3:17 pm

what is needed on the interfacing side?
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,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11292
Joined: Tue Mar 25, 2008 8:40 am

Re: Foreflight support?

Postby @ns1bl3 » Fri Aug 24, 2012 3:32 pm

I'm not a dev so I cannot say. Someone with a dev knowledge and an iPhone can perhaps try the thing.
@ns1bl3
 
Posts: 10
Joined: Tue Aug 21, 2012 1:39 pm

Re: Foreflight support?

Postby mnewbery » Wed Dec 28, 2016 8:13 am

My first post. I created a generic protocol that works with FGFS 2.6.0 and the latest demo of Foreflight on the iPad wirelessly. I have no idea how to attach the XML either as a file or text. Next I will be doing the same of OzRunways which uses the X-Plane format
mnewbery
 
Posts: 9
Joined: Wed Dec 28, 2016 7:54 am

Re: Foreflight support?

Postby Johan G » Wed Dec 28, 2016 3:40 pm

mnewbery wrote in Wed Dec 28, 2016 8:13 am:I have no idea how to attach the XML either as a file or text.

If it is not a too big file you could add it between [code] tags in a forum post (you can type them or use the [>_ ] button above the text edit box).
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5296
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: Foreflight support?

Postby mnewbery » Thu Feb 09, 2017 3:32 am

Code (foreflightprotocol.xml): Select all
<?xml version="1.0"?>

<PropertyList>

<generic>

<output>
<line_separator>newline</line_separator>
<var_separator>,</var_separator>

<chunk>
<name>LinePreamble</name>
<format>XGPSMy Sim</format>
</chunk>

<!-- Position -->

<chunk>
<name>longitude-deg</name>
<type>double</type>
<format>%.10lf</format>
<node>/position/longitude-deg</node>
</chunk>

<chunk>
<name>latitude-deg</name>
<type>double</type>
<format>%.10lf</format>
<node>/position/latitude-deg</node>
</chunk>

<chunk>
<name>altitude-m</name>
<type>float</type>
<format>%f</format>
<node>/position/altitude-ft</node>
<factor>0.3038</factor>
</chunk>

<!-- Velocity and track -->
<chunk>
<name>track-deg</name>
<type>double</type>
<format>%f</format>
<node>/orientation/track-deg</node>
</chunk>

<chunk>
<name>groundspeed-ms</name>
<type>double</type>
<format>%.1lf</format>
<node>/veocities/groundspeed-kt</node>
<factor>0.50277</factor>
</chunk>

</output>

</generic>

</PropertyList>
mnewbery
 
Posts: 9
Joined: Wed Dec 28, 2016 7:54 am

Re: Foreflight support?

Postby mnewbery » Thu Feb 09, 2017 3:34 am

Comment caused an issue in the SQL insert

Usage:

Longitude
Latitude
Altitude in meters MSL
Track-along-ground from true north
Groundspeed in meters/sec
mnewbery
 
Posts: 9
Joined: Wed Dec 28, 2016 7:54 am

Re: Foreflight support?

Postby wkitty42 » Fri Feb 10, 2017 3:00 am

most likely due to a UTF-8 character in the content... use 7bit characters only and you should be good...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 5020
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Foreflight support?

Postby mnewbery » Mon Jan 08, 2018 3:47 am

Did anyone besides me get to try this out?
mnewbery
 
Posts: 9
Joined: Wed Dec 28, 2016 7:54 am


Return to Interfacing

Who is online

Users browsing this forum: No registered users and 1 guest