Active Topics

 



Notices


Reply
Thread Tools
Posts: 196 | Thanked: 141 times | Joined on Aug 2007
#1671
Originally Posted by MartinK View Post


Is there an API available for the FM transmitter (DBUS, CLI utility, Python accessible library) ? .
dbus, see http://maemo.org/api_refs/5.0/5.0-fi.../fmtx_api.html actually not sure if that is used to send output. http://wiki.maemo.org/N900_FM_radio_transmitter might be more relevant.

Last edited by jcharpak; 2014-10-20 at 22:39.
 

The Following 4 Users Say Thank You to jcharpak For This Useful Post:
Posts: 330 | Thanked: 556 times | Joined on Oct 2012
#1672
Originally Posted by MartinK View Post
What about adding a note on Wiki how to use Mbrola ?


Thanks! I'm glad you like modRana!
Thank you, MartinK!

I am setting up my N900 after a full reflash and I am in the process of installing applications. When I set up modRana, I will add this in the Wiki, probably tonight or tomorrow.

Originally Posted by MartinK View Post
There various OpenStreetMap POI extracts available from various sources and I wanted to add support for using them for some time already but just did not get to that yet.

It is actually not that different from the current online providers - just find a suitable easily accessible offline POI database source and add a local provider implementation that can run searches over the file.

Also there is of course the built-in POI database you can populate manually.
I see, that sounds great! Having a builtin POI database would mean modRana would be a fully offline GPS solution for me (and it's not far from it the way it is, frankly.

Originally Posted by MartinK View Post
Is there an API available for the FM transmitter (DBUS, CLI utility, Python accessible library) ? Depending on how long it takes to wake-up I could either force wakeup just before a voice message or make it stay on when turn-by-turn navigation is running.
I have no idea about this, sorry. I will investigate in a few days and tell you if I find something.

I have a few ideas for features/enhancements. Far from being criticisms, I think the fact that I've been using modRana a lot due to it being the best GPS routing program for the N900 hands down, got me thinking...

1. This is related to the last question about the FM transmitter. Perhaps there could be a toggle (under Options, under Voice, or in the main map). This would cause modRana to open a stream into PulseAudio and send silence into it (if that is possible). This is more elegant than having to do the hack manually from Media Player or some other program. You could either sense when the FM transmitter is active, or just make the whole thing manual. I think this wouldn't interfer with any other audio streams. And this solution is a fallback in case you can't implement the solution you proposed.

2. Night Mode! Or custom visual mode, customizable by the user.
Basically, allow the user to customize graphic filter settings to alter the way map tiles look. For a simple Night Mode you could invert colors, for example. When this mode is engaged, tiles are buffered and processed before being displayed, and possibly also saved for later use if the user chooses that. You could also offer a batch preprocess mode so that the alternate set of tiles can be processed ovcernight, similarly to how tiles are downloaded now for offline routing.

The simple version of this feature is just "Invert Colors" and call it "Night Mode". This feature would be super useful for all the non-satellite maps. Those maps have tiles which don't occupy too much space either.

For the Satellite maps, a set of specific filters would be amazingly useful, if applied in batch mode. I'm thinking about filters geared to lower the size of each tile considerably without too much quality loss. Dithering, pixelization, color depth reduction, etc. If you allow a user to adjust this and look at a preview, then batch processing and replacing tiles would save a lot of space on the satellite maps. Just a guess, I don't know hjow optimized the satellite tiles already are.

3. Route simulator. This would simulate a route on the map (possibnly at a speed adjustable by the user.

But most importantly: then we could fool Google Maps and other providers so that batch downloads don't fail. As you know, batch downloads don't currently work with Google Maps because they must easily detect that a batch download is taking place, based on the pattern of tile requests. If you simulate the correct pattern, I think this wouldn't be an issue.

I thought of some other features but they don't come to mind right now.

Last edited by malfunctioning; 2014-10-20 at 23:34.
 

The Following 6 Users Say Thank You to malfunctioning For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#1673
Originally Posted by MartinK View Post
Interesting! Do you have any more information about this ?
thp's article about it:

http://thpmaemo.blogspot.com/2013/07...n-on-qt-5.html

And a video (linked in the article) of pyOtherSide on the N9, with Python 3 and QT 4:

https://www.youtube.com/watch?v=iqphTKirkKw

Edit: just noticed you've already commented on that article, so it might not be helpful.

Last edited by skykooler; 2014-10-21 at 03:11.
 

The Following 4 Users Say Thank You to skykooler For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1674
modRana 0.49.6 has been released!
Brings support for debug log compression, faster Qt 5 GUI startup and keep-screen-on support for Sailfish OS.

Changelog:
Code:
* Tue Oct 21 2014 Martin Kolman - 0.49.6
- generate correct (Python 3.4) bytecode for the Sailfish OS package
 - makes modRana Python part startup almost 2 times faster (~3.8s->~2s) ! :)
- make location and map page in Qt 5 GUI asynchronous
 - this should make the startup even faster and more seemless
- add a fade in & out animation for the startup indicator in Qt 5 GUI
* Sun Oct 19 2014 Martin Kolman - 0.49.5
- fix a typo breaking modRana startup on Sailfish OS
* Sat Oct 18 2014 Martin Kolman - 0.49.4
- support for keeping screen on for Sailfish OS
 - enabled by default
 - can be turned on/off in Options->UI
- fully asynchronous Qt 5 GUI startup
 - the Qt 5 GUI startup should now be faster and feedback is provided to the user during the whole startup
 - the Bitcoin button now works again in the Qt 5 GUI
- the Gratipay donation button has been added to the Qt 5 GUI
- fixed sizes & font sizes of donation buttons
- modRana now supports log file compression with gzip
 - preliminary testing shows about 60% log size reduction when enabled :) 
 - GTK GUI: Options->Debug->Logging
 - Qt 5 GUI: Options->Logging
- print full path to the log file when disabling it
- average speed is now displayed correctly
- add support for passing CLI arguments when using the Qt 5 GUI
- the compass rose in Qt 5 GUI no longer wiggles when pointing close to the northern direction
- fix shutdown handler not triggering on Sailfish OS
- fix Qt GUI log and Qt 5 GUI qml log names
- fix speed statistics centering in Qt 5 GUI
- fix version string wrapping in Qt 5 GUI
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 18 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#1675
Originally Posted by MartinK View Post
modRana 0.49.6 has been released!
Has it? Something choking somewhere?
 

The Following 2 Users Say Thank You to handaxe For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#1676
Originally Posted by handaxe View Post
Has it? Something choking somewhere?
From the changelist, I assume it has but only for Sailfish. The last Maemo build listed here is 0.49.4.
 

The Following 5 Users Say Thank You to pichlo For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1677
Originally Posted by pichlo View Post
From the changelist, I assume it has but only for Sailfish. The last Maemo build listed here is 0.49.4.
Yeah, 0.49.5 and 0.49.6 didn't have any user visible changes outside of the Qt 5 GUI so I did not send them to autobuilder.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 5 Users Say Thank You to MartinK For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1678
Erm, any progress in cairo-related bugs? ModRana still crashes on me all the time, with the latest version from -devel

No pressure,all understanding and thankfulness.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 4 Users Say Thank You to Estel For This Useful Post:
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#1679
Originally Posted by MartinK View Post
Yeah, 0.49.5 and 0.49.6 didn't have any user visible changes outside of the Qt 5 GUI so I did not send them to autobuilder.
oh.. I thought that python speedup you mentioned was for all devices
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 

The Following User Says Thank You to petur For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1680
Originally Posted by Estel View Post
Erm, any progress in cairo-related bugs? ModRana still crashes on me all the time, with the latest version from -devel

No pressure,all understanding and thankfulness.

/Estel
I have recently added a set of tunables that might influence the crashes:
https://github.com/M4rtinK/modrana/issues/52

The general idea is that one can either set them to a lower value than default and the crashes might not trigger or do the opposite and try to find a reproducible crash scenario that could be used to find the root cause.

Also note that the non-default values are kinda experimental & some non-default value combinations might result in weird behavior.

So the general recomendation is to backup ~/.modrana before playing with them & to have the debug log (Options->Debug->Logging) enabled at all times to catch any interesting errors.

Originally Posted by petur View Post
oh.. I thought that python speedup you mentioned was for all devices
The slowness on Sailfish OS was caused by incorrect Python bytecode being generated (for 3.3 vs the 3.4 used on Sailfish).
The Maemo package has been using the same technique for ages to make startup faster.

On the other hand I've also spotted a few more opportunities to make general modRana startup faster on all platforms, usually by deferring stuff done during startup for later or mooving it to threads.
So you can look forward to more generally usable startup speed improvements in a future modRana update.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 9 Users Say Thank You to MartinK For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 16:54.