Board index FlightGear Support Tools Atlas

Atlas-like application on Android

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

Re: Atlas-like application on Android

Postby StevePER » Fri Mar 07, 2014 1:33 pm

osmdroid shows maps on both phones.
StevePER
 
Posts: 47
Joined: Tue Mar 26, 2013 12:03 am
Location: Perth, Australia (YPPH)
Version: git
OS: Gentoo

Re: Atlas-like application on Android

Postby ludomotico » Fri Mar 07, 2014 1:44 pm

Thanks! This is not telling us what happens on your devices, but at least it shows it must be something fixable :) I'll update the osmdroid libraries and push an update of the application during this weekend.
User avatar
ludomotico
 
Posts: 1204
Joined: Tue Apr 24, 2012 1:01 pm
Version: nightly
OS: Windows 10

Re: Atlas-like application on Android

Postby StevePER » Mon Mar 10, 2014 1:34 pm

The map works now. I didn't have long to try it tonight but it's looking good. Is it possible to enable pinch to zoom?

Interestingly, the map is shown as a satellite image on the S3 and Openstreetmap on the Nexus 5 (the labels on the airports and navaids are much easier to read on the satellite view).

I can't get the Comm Panel to work, it keeps popping up a warning about running fgfs with --telnet=socket,in,20,,9000,tcp.

Steve
StevePER
 
Posts: 47
Joined: Tue Mar 26, 2013 12:03 am
Location: Perth, Australia (YPPH)
Version: git
OS: Gentoo

Re: Atlas-like application on Android

Postby ludomotico » Mon Mar 10, 2014 1:43 pm

Satellite view? There are several map sources, you can select them in the options menu (in the panel list activity, not in the map activity) AFAIK, osmdroid does not include any satellite image! If this is true, this is a feature I was not aware of!

Regarding the comm panel... the warning is there for a reason! Did you set the IP address of the PC running fgfs in the options? Are you running fgfs using these parameters? Check the wiki page for the configuration of both the remote fgfs and FlightGearMap: http://wiki.flightgear.org/FlightGearMap
User avatar
ludomotico
 
Posts: 1204
Joined: Tue Apr 24, 2012 1:01 pm
Version: nightly
OS: Windows 10

Re: Atlas-like application on Android

Postby StevePER » Tue Mar 11, 2014 1:26 pm

Clearly I'm still getting used to this phone.... I didn't realise there was a settings menu because the Nexus 5 doesn't have a menu button. I've found it now. Mapquest Aerial is the view I'm referring to. Knowing about this menu makes it easy to get the Comm panel working too.

Sorry for the daft questions!
StevePER
 
Posts: 47
Joined: Tue Mar 26, 2013 12:03 am
Location: Perth, Australia (YPPH)
Version: git
OS: Gentoo

[SOLVED] Connection timeout - cannot connect

Postby rooman » Tue Sep 19, 2017 8:13 pm

This is the app that I've been waiting for for years, looks great.
However I get "connection timeout" error message continuously. Parameters have been checked several times:

--generic=socket,out,10,192.168.1.7,5501,udp,andatlas in Additional Settings of FGFS
pc ip in FlightgearMap PCip settings; checked in router manager app Genie

ping of tablet from pc:
--- 192.168.1.7 ping statistics ---
56 packets transmitted, 55 received, 1% packet loss, time 55105ms
rtt min/avg/max/mdev = 0.960/59.658/141.113/38.633 ms

EDIT
played around with firewall parameters, connection okay now, works like a charm!
rooman
 
Posts: 21
Joined: Sun Apr 12, 2015 6:26 pm
Location: Lausanne, Switzerland
OS: Ubuntu 20.x

Re: Atlas-like application on Android

Postby AchDuShrek » Sun Nov 12, 2017 4:52 pm

I've got this "Connection timout" too. It has nothing to do with my firewall (all disabled).
If it works it could be a nice application, but it seems that it is no longer developed ... (last commit over 6 years).
AchDuShrek
 
Posts: 2
Joined: Sun Nov 12, 2017 3:07 pm

Re: Atlas-like application on Android

Postby wlbragg » Tue Nov 14, 2017 5:11 pm

If I am remembering correctly there is a file you must include in fgdata/Protocol/andatlas.xml
It should be available on the site or location where this application is documented.
I use to use this and it always worked as long as it was setup according to the documentation.

However there is another way to get the same type of map that is built into FlightGear. Under the FG GUI Menu
Equipment/Map (opens in browser).
You can get that functionality on any device capable of using a web browser.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
wlbragg
 
Posts: 6041
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Not solved for long

Postby rooman » Sun Nov 26, 2017 7:10 pm

This is the app that I've been waiting for for years, looks great.
Was working before with KDE but not now with Gnome

However I get "connection timeout" error message continuously.
Parameters have been checked several times:

--generic=socket,out,10,192.168.1.X,5501,udp,andatlas in Additional Settings of FGFS
pc ip in FlightgearMap PCip settings; checked in router manager app Genie

ping of tablet and phone from pc:
less than 1% of loss for the two devices

played around with firewall parameters, connection still time out!
rooman
 
Posts: 21
Joined: Sun Apr 12, 2015 6:26 pm
Location: Lausanne, Switzerland
OS: Ubuntu 20.x

Re: Atlas-like application on Android

Postby wlbragg » Mon Nov 27, 2017 5:47 pm

Are we still talking about "andatlas" or the one I suggested above?

All you need for the built in map is
--httpd=5500
in Settings/Additional Settings.

and in the browser the address would be
http://localhost:5500/#Map

It looks like this
Image
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
wlbragg
 
Posts: 6041
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Atlas-like application on Android

Postby Michat » Mon Nov 27, 2017 6:37 pm

Notice that for the suggested map by @wlbragg user have to add --httpd=8080
User avatar
Michat
 
Posts: 1113
Joined: Mon Jan 25, 2010 6:24 pm
Location: Spain
Version: 191b
OS: GNewSense

Re: Atlas-like application on Android

Postby wlbragg » Mon Nov 27, 2017 8:19 pm

Notice that for the suggested map by @wlbragg user have to add --httpd=8080


In fact you can use any open port you like, but they have to match in the browser and the port you add to the options. Note I used 5500 in both.

I got in the habit of avoiding 8080 as some ISP block that port for some types of IO and it is also a popular port for other application. However using localhost that shouldn't matter.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
Intel i5 3570K AMDRX480
wlbragg
 
Posts: 6041
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/AMDRX480

Re: Atlas-like application on Android

Postby wkitty42 » Tue Nov 28, 2017 2:11 am

wlbragg has it right... any port as long as both FG and the browser know about it and it isn't already in use for something else... i've been using 5500 because that's what FGRun used and i learned FG command options from FGRun... i've not seen any need to change it and, in fact, have added more for other services (eg: ATC)...
"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: 7130
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Atlas-like application on Android

Postby rooman » Sun Dec 03, 2017 11:15 am

FlightGearMap

The beauty of this idea is the instruments/map/etc available on a seperate Android device thus freeing up the main screen and giving more of a real simulation experiance.

Trying to put the map in a browser window slows down FG by half a dozen fps and just gives the error Localhost does not authorize this connexion...
rooman
 
Posts: 21
Joined: Sun Apr 12, 2015 6:26 pm
Location: Lausanne, Switzerland
OS: Ubuntu 20.x

Re: Atlas-like application on Android

Postby Hooray » Sun Dec 03, 2017 11:21 am

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

PreviousNext

Return to Atlas

Who is online

Users browsing this forum: No registered users and 1 guest