Board index FlightGear The FlightGear project

FG log book

Questions about the FlightGear organisation, website, wiki etc.

FG log book

Postby sappy » Thu Mar 26, 2015 9:19 pm

Hi @all,

i just wonder about if there is any chance in Flight Gear to log my flights. So something like an online log-book with my flights (duration, flight route history, etc).
I'm sad about that I can't save and see my routes and miles flown. Is there something like this?

Regards
sappy
sappy
 
Posts: 2
Joined: Mon Oct 27, 2014 1:04 am

Re: FG log book

Postby Hooray » Thu Mar 26, 2015 9:34 pm

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: 11475
Joined: Tue Mar 25, 2008 8:40 am

Re: FG log book

Postby wkitty42 » Fri Mar 27, 2015 12:13 am

FGTracker seems to be multiplayer only... maybe i didn't go far enough through the 12 pages of results??
"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: 5987
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: FG log book

Postby Johan G » Fri Mar 27, 2015 12:52 am

FGTracker is indeed multiplayer only. On top of that you would want to check which servers are tracked at the time you are about to fly. Some of the servers are less reliable than the others. :?
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: 5546
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: FG log book

Postby wkitty42 » Fri Mar 27, 2015 1:09 am

thanks, johan... i don't know about the OP but it would be nice to have a log application for single player mode, too... i'm not ready for MP and i would like to log my flights, too... i have notebooks i use for coding notes and networking configurations but keeping up with them when the grandkids are around is as tough a job as keeping up with the grands alone ;)
"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: 5987
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: FG log book

Postby Hooray » Fri Mar 27, 2015 2:18 am

the OP asked for an "online log book", which is why I posted the fgtracker reference - adapting the concept accordingly for non-MP scenarios should be straightforward - we also have several tutorials on making HTTP requests from Nasal, which could be considered the "backbone" for related efforts
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: 11475
Joined: Tue Mar 25, 2008 8:40 am

Re: FG log book

Postby clrCoda » Fri Mar 27, 2015 2:35 am

It's a fairly simple thing to provide your own log.

I have an xml I wrote for the RALPH ( Restart At Last-known Position Helper) and tikibar took the csv file created by that log and turned it into the markup that google earth renders.

here's log-restart.xml

Code: Select all
<?xml version="1.0"?>
<!--Ray St.Marie clrCoda AVA0028 public domain -->
<PropertyList>
 <logging>
  <log>
   <enabled>true</enabled>
   <filename>log-restart.csv</filename>
   <interval-ms>60000</interval-ms>
   <delimiter>,</delimiter>
   <entry>
    <enabled>true</enabled>
    <title>Longitude</title>
    <property>/position/longitude-deg</property>
   </entry>
   <entry>
    <enabled>true</enabled>
    <title>Latitude</title>
    <property>/position/latitude-deg</property>
   </entry>
   <entry>
    <enabled>true</enabled>
    <title>Altitude</title>
    <property>/position/altitude-ft</property>
   </entry>
   <entry>
    <enabled>true</enabled>
    <title>Heading</title>
    <property>/orientation/heading-deg</property>
   </entry>
   <entry>
    <enabled>true</enabled>
    <title>IAS</title>
    <property>/velocities/airspeed-kt</property>
   </entry>
   <entry>
    <enabled>true</enabled>
    <title>Fuel</title>
    <property>/consumables/fuel/total-fuel-lbs</property>
   </entry>
  </log>
 </logging>
</PropertyList>


It creates a file called log-restart.csv (comma seperated values ) and it logs your position heading speed fuel in 60000 miliseconds ( one minute ) intervals. Hack it for finer granularity if you wish.

Tikibars executable that creates the markup is here in my dropbox: actually, it includes an exe for windows users and instructions for linux to compile it themselves and it has a copy of the log-restart.xml in the zip.
https://www.dropbox.com/s/lokp5b97c6w4evx/log2google-windows.zip?dl=0
Ray St. Marie
clrCoda
 
Posts: 1228
Joined: Wed Apr 07, 2010 11:04 am

Re: FG log book

Postby zlsa » Fri Mar 27, 2015 2:44 am

KML spec: https://developers.google.com/kml/documentation/kml_tut

It looks like FlightGear should be able to directly export to KML with the proper protocol.
zlsa
 
Posts: 145
Joined: Fri Feb 14, 2014 2:29 am
Callsign: N275A
Version: 3.5 git
OS: Linux

Re: FG log book

Postby zlsa » Fri Mar 27, 2015 5:06 am

zlsa
 
Posts: 145
Joined: Fri Feb 14, 2014 2:29 am
Callsign: N275A
Version: 3.5 git
OS: Linux

Re: FG log book

Postby Torsten » Fri Mar 27, 2015 8:12 am

Or this:
Code: Select all
fgfs --httpd=8080
google-earth localhost:8080/flighthistory/track.kml

does this:
Image

Available only in 3.5 (nightly or git)

Torsten
flightgear.org - where development happens.
User avatar
Torsten
 
Posts: 637
Joined: Fri Feb 01, 2008 9:22 pm
Location: near Hamburg, Germany
Callsign: offline
Version: next
OS: Linux

Re: FG log book

Postby wkitty42 » Fri Mar 27, 2015 1:10 pm

i just tried this (your google-earth command line) with my fgfs 3.5-git updated yesterday (2015 Mar 26) morning (EDT) but i'm not seeing anything of my flight from KSFO->PASN->RJTT... however, if i access the same url with my browser, it wants to download the kml and open it with google-earth... that works just fine and i do see my flight up to its current point...

i don't know why GE can't/won't do the same from the command line...
"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: 5987
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5


Return to The FlightGear project

Who is online

Users browsing this forum: No registered users and 2 guests