Board index FlightGear Support Tools Atlas

Atlas like application on iOS

Atlas is an addon that lets FlightGear users display a real-time "moving-map" of their flight.

Re: Atlas like application on iOS

Postby atanasoff » Wed Oct 07, 2015 7:37 pm

Hi,
I'm using FlightGear 3.4. Using and iPad. Mobatlas.xml can not be loaded according to stuff that goes by on a console window. Seems there must be a bug in the xml?? I'm using the most recent app, 1.5v it think and the .xml file and command line that was e-mailed by the app. Any ideas. Oh yes. Slackware 14.1 and Slackware 14.0. I don't thing it is the operating system.
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby atanasoff » Thu Oct 08, 2015 3:16 am

I'm using FG-3.4 on a Slackware machine. The mobatlas.xml throws an error:

Unable to load the protocol configuration file: Unrecognized data type 'hidden' at /usr/share/FlightGear/Protocol/mobatlas.xml,
line 10, column 154

Here is some of the code -- line 10 is at the bottom of all of this:

(*************************************)

<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>:</var_separator>

<chunk>
<name>speed</name>
<format><input type="hidden" id="atmailCSRF" name="atmailCSRF"

(***************************************)

Any ideas?? type="hidden" is used all through this file.

Thanks
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby wkitty42 » Thu Oct 08, 2015 4:28 am

i'm almost wondering if it may be a line ending problem... the error message states column 154 which is waaaaay over there --->>>

where'd you get the file from? i don't find it in my 3.4 or 3.7 installation areas...
"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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Atlas like application on iOS

Postby atanasoff » Fri Oct 09, 2015 12:14 am

My editor "touched" the file in question in an effort to debug the .xml file. Turns out I don't have a clue as to how it works. So here is the error thrown again with and unblemished file the app sent me:

Unable to load the protocol configuration file: Unrecognized data type 'hidden'
at /usr/share/FlightGear/Protocol/mobatlas.xml,
line 13, column 150

<?xml version="1.0"?>

<PropertyList>

<generic>

<output>
<line_separator>newline</line_separator>
<var_separator>:</var_separator>

<chunk>
<name>speed</name>
<format><input type="hidden" id="atmailCSRF" name="atmailCSRF" value="QU51K1B5UUwvNGo0M0luU0hHMkFkS3lmaDdXcmNVZjJmaitDbTFZPTpOVEEzT1RVM05qZ3g=" />%f</format>
^ The carrot is col 150 of line 13 (or I hope my post will show that)

Does that help any??? Yes no??

P.S My initial problem was the file would not load. It was a linux permissions issue - and I fixed that. Now it seems to be an .xml file coding issue.
Tnx again
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby wkitty42 » Fri Oct 09, 2015 6:02 am

yeah, helps a little bit... i had to quote and then count characters in that line to confirm... it is pointing there because that's the close of the <input ... /> block...

where did you get this "mobatlas.xml" file from? what package did it come with? it doesn't appear to be a part of flightgear AFAICT...

FWIW: you do realize that the last post before yours was Feb 2014, right? i just realized that this wasn't a new topic but that your post was the first one on the third page...
"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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Atlas like application on iOS

Postby sanhozay » Fri Oct 09, 2015 8:38 am

I know this comment doesn't help with regard to the app you are talking about but have you tried Phi?

Quick instructions:

1. Add the following to your startup options:
Code: Select all
--httpd=8080


2. Open a browser on the iPad and go to URL:

Code: Select all
http://192.168.0.1:8080


Where 192.168.0.1 is replaced with the IP address of the computer running Flightgear. Routers usually show IP addresses of connected devices.

3. Switch to the Map tab for a moving map.
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: Atlas like application on iOS

Postby legoboyvdlp » Fri Oct 09, 2015 2:44 pm

It does require 3.6 RC or 3.7 though.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Atlas like application on iOS

Postby atanasoff » Fri Oct 09, 2015 11:42 pm

It does require 3.6 RC or 3.7 though. ???????

I don't know what 3.6 RC is.

I did get a moving map to work with http://mycomputerip:8080/gui/map -- very cool!

Still no luck with mobatlas.xml

Will try Phi

TNX
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby legoboyvdlp » Sat Oct 10, 2015 4:05 am

Huh?
3.6 RC is the release candidate. Like a beta release.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Atlas like application on iOS

Postby atanasoff » Thu Oct 15, 2015 12:14 am

OK! I have 3.4v. I'll see how difficult it will be to compile. May take me some time.
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby legoboyvdlp » Thu Oct 15, 2015 2:49 am

No, you don't need to compile.
Download 3.7 from here: http://download.flightgear.org/builds/nightly
Choose the 3.7.0, not the -full.
Use git or svn (FGMEMBERS or ADDON) to get planes! Git or SVN (FGDAATAWSUBMOULES or FGDATA)
For help with MEMBERS AND WSUBMODULES go to thejabberwocky.net for help
Regards, have a nice time exploring 3.7
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Atlas like application on iOS

Postby atanasoff » Fri Oct 16, 2015 1:16 pm

I still get the same "type" error. I have compiled and upgraded to FG-3.6 release candidate. I could not find the tar balls for RC FG-3.7 Still using Linux Slackware. I don't have any Microsoft Operating Systems, at this time on any of my computers so can't use the nightly compiles. Guessing maybe an old linux dependency???? that interprets .xml code???? I' not much of a programmer here.
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby wkitty42 » Fri Oct 16, 2015 4:26 pm

what do you mean you still get the same "type" error?

are you still trying to use that mobatlas.xml file?

if so, why? you don't need it since you can use a browser and the Phi interface, do you??
"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: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Atlas like application on iOS

Postby atanasoff » Fri Oct 16, 2015 4:39 pm

Same error as before:
Unable to load the protocol configuration file: Unrecognized data type 'hidden'
at /usr/share/FlightGear/Protocol/mobatlas.xml

I was just trying to use the iPad app with all the "steam gauges" and moving map.
Yes I was trying to get mobatlas.xml to run, but no cigar there. Mobatlas.xml just will
not load because of the type error.

You are right, FlightGear's own moving map works perfectly with my iPad (or any browser)
and is very cool. I shall remain happy with that.
atanasoff
 
Posts: 7
Joined: Wed Oct 07, 2015 7:26 pm

Re: Atlas like application on iOS

Postby mjb1416 » Sat May 21, 2016 6:10 pm

Hi

I've successfully installed FG Map on my iPad mini and linked it up to my copy of Flightgear. It's a great app, well done for writing this. All is working except for the air speed indicator which remains on zero. Are there changes required to mobatlas.xml to get this to work?

FG Map version 1.5
FG Version 2106.1.1
OS Ubuntu 14.04

Regards

Mike
mjb1416
 
Posts: 2
Joined: Sat May 21, 2016 6:02 pm

PreviousNext

Return to Atlas

Who is online

Users browsing this forum: No registered users and 5 guests