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 11:47 am

I just discovered this app and really like the idea. Unfortunately the map doesn't seem to be working, I can only see a grid background. I see the same thing on my Galaxy S3 and my Nexus 5.
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 12:50 pm

This is probably related to the external storage. The map library (osmdroid) needs external storage (a SD card, for example) for the tile cache. If the external storage is not available, the map is shown as a grid.

("external storage" is a term used by Android to refer to any directory without reading/writing restrictions. It includes unprotected areas of the internal memory as well as SD cards)

The external storage won't be available and the map will be shown as a grid in these cases:

- There is not a SD card, or the library cannot identify the SD card. This may happen in very recent versions of Android. I don't have any device running Android 4.4, so I'll need your help to check if this is the case.
- The SD card or the internal memory is full. I cannot help you with this :)
- The SD card/external storage is not available to any application on the mobile phone because it is mounted by another system. Typically, this happens if you connect the device to a PC using a USB cable. If you are using a USB cable, please, unplug and test again.

I have pending an update of the application from months ago. I really hope to test the new version and push the update during this weekend. Particularly, airports and navaids are now displayed on the map.
User avatar
ludomotico
 
Posts: 1002
Joined: Tue Apr 24, 2012 1:01 pm
Version: git
OS: Debian GNU/Linux

Re: Atlas-like application on Android

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

That was a quick reply! The features in the update sounds great, and I would also like to try the B1900D panel mentioned earlier in this thread.

The Nexus 5 runs Android 4.4 and has no external SD card. There is plenty of free internal memory however. I'm happy to help with testing.

The Galaxy S3 runs Android 4.1.2. There is 2.7G free on the external SD card and 3.9G free on the internal storage. Still no maps though. :(
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:23 pm

Could you test if this app shows any map? https://play.google.com/store/apps/deta ... g.osmdroid

This is a demo application using the same libraries I'm using in FlightGearMap. Of course, it cannot be connected to FlightGear :) If this application shows a map, then there is a problem in my code.
User avatar
ludomotico
 
Posts: 1002
Joined: Tue Apr 24, 2012 1:01 pm
Version: git
OS: Debian GNU/Linux

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: 1002
Joined: Tue Apr 24, 2012 1:01 pm
Version: git
OS: Debian GNU/Linux

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: 1002
Joined: Tue Apr 24, 2012 1:01 pm
Version: git
OS: Debian GNU/Linux

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

Re: Atlas-like application on Android

Postby mariareese » Thu Jun 15, 2017 10:56 am

best app ever .. but make it more light as possible ..:)
mariareese
 
Posts: 1
Joined: Thu Jun 15, 2017 10:54 am

[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: 10
Joined: Sun Apr 12, 2015 6:26 pm
Location: Lausanne, Switzerland

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
User avatar
wlbragg
 
Posts: 4116
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

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: 10
Joined: Sun Apr 12, 2015 6:26 pm
Location: Lausanne, Switzerland

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
User avatar
wlbragg
 
Posts: 4116
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

PreviousNext

Return to Atlas

Who is online

Users browsing this forum: No registered users and 0 guests