Discussion:
Navit actions menu layout ?
Lothar Behrens
2008-12-14 12:29:13 UTC
Permalink
Hi,

today I have installed the current release from navit and it looks
much better. But I have a question about the layout of the buttons in
the actions panel.

How to change the layout from horizontal to vertical ?

The problem: I do not see all of the buttons :-(

Thanks

Lothar

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen
Nathan Kinkade
2008-12-14 13:11:01 UTC
Permalink
Hi,
today I have installed the current release from navit and it looks much
better. But I have a question about the layout of the buttons in the actions
panel.
How to change the layout from horizontal to vertical ?
The problem: I do not see all of the buttons :-(
Thanks
Lothar
Have you modified navit.xml? In this version there is an option to
set the gui to a mode called "internal," which is optimized for small
screens. For the "internal" gui type you can also specify icon size.
I believe the default opkg specifies "internal," but doesn't set the
icon size, though there is a sample line in the config file for the
Neo.

I don't like modifying the default /usr/share/navit/navit.xml, so I like to

# mkdir ~/.navit
# cp /usr/share/navit/navit.xml ~/.navit/

Edit that file, then search for "internal." Around line 30 you'll see
a sample setting for <gui /> for the Neo. Uncomment that, then
comment out the other <gui /> element just below it.

I also found this setting quite nice: a few more lines down there are
number of <osd /> elements (On Screen Display), set zoom_in, zoom_out,
and gui_internal_fullscreen to enabled and disable the rest. This
will give you transparent zoom in and zoom out buttons in the bottom
corners, and a fullscreen toggle in the upper left corner. In
fullscreen mode and with this "internal" gui type, Navit is really
looking like a consumer level map/navigation program on the Neo.

Nathan
Yorick Moko
2008-12-14 13:45:51 UTC
Permalink
i did that but i get:
***@om-gta02 ~ $ DISPLAY=:0 navit
navit:convert_to_attrs:failed to create attribute 'icons_xs' with value '60'
vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=4
iochan=0x8a078 watch=0x2
navit:main:Using '/home/root/.navit/navit.xml'

and see no buttons (except for the zoom in and out button, but when i
press the top of the screen i do get into a settings-screen)
Post by Nathan Kinkade
Hi,
today I have installed the current release from navit and it looks much
better. But I have a question about the layout of the buttons in the actions
panel.
How to change the layout from horizontal to vertical ?
The problem: I do not see all of the buttons :-(
Thanks
Lothar
Have you modified navit.xml? In this version there is an option to
set the gui to a mode called "internal," which is optimized for small
screens. For the "internal" gui type you can also specify icon size.
I believe the default opkg specifies "internal," but doesn't set the
icon size, though there is a sample line in the config file for the
Neo.
I don't like modifying the default /usr/share/navit/navit.xml, so I like to
# mkdir ~/.navit
# cp /usr/share/navit/navit.xml ~/.navit/
Edit that file, then search for "internal." Around line 30 you'll see
a sample setting for <gui /> for the Neo. Uncomment that, then
comment out the other <gui /> element just below it.
I also found this setting quite nice: a few more lines down there are
number of <osd /> elements (On Screen Display), set zoom_in, zoom_out,
and gui_internal_fullscreen to enabled and disable the rest. This
will give you transparent zoom in and zoom out buttons in the bottom
corners, and a fullscreen toggle in the upper left corner. In
fullscreen mode and with this "internal" gui type, Navit is really
looking like a consumer level map/navigation program on the Neo.
Nathan
_______________________________________________
Openmoko community mailing list
http://lists.openmoko.org/mailman/listinfo/community
KaZeR
2008-12-14 13:59:18 UTC
Permalink
Post by Yorick Moko
navit:convert_to_attrs:failed to create attribute 'icons_xs' with value '60'
vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=4
iochan=0x8a078 watch=0x2
navit:main:Using '/home/root/.navit/navit.xml'
and see no buttons (except for the zoom in and out button, but when i
press the top of the screen i do get into a settings-screen)
Using internal gui, it's intended to have no buttons when you are
viewing the map, in order to use most space for the map.
Touching the map should bring you a black screen with 3 buttons :
actions, settings and tools, each one with an icon.
Does that work for you?
Lothar Behrens
2008-12-14 15:17:29 UTC
Permalink
Yes,

there is a + on bottom right, a - on bottom left, a compas on top left
and a eta on top right as I activated them.

The plain map display is mostly ok (the info picture in the bottom
left may be a bit bigger to easier see it :-)
Post by KaZeR
Post by Yorick Moko
navit:convert_to_attrs:failed to create attribute 'icons_xs' with value '60'
vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=4
iochan=0x8a078 watch=0x2
navit:main:Using '/home/root/.navit/navit.xml'
and see no buttons (except for the zoom in and out button, but when i
press the top of the screen i do get into a settings-screen)
Using internal gui, it's intended to have no buttons when you are
viewing the map, in order to use most space for the map.
actions, settings and tools, each one with an icon.
Does that work for you?
It works, but what I mean, is, these are partly out of screen:

*=================*
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
*=================*

Can these buttons moved by configuration ?

BTW, I now have tested the navigation with my car. It works reasonable
good.
But some crashes - while speaking I think - stops navit to work.

I need a simulation car. Could I create such a car by getting the
calculated route ?

I haven't activated tracking for my car definition in my last test :-(

Thanks

Lothar
Post by KaZeR
_______________________________________________
Openmoko community mailing list
http://lists.openmoko.org/mailman/listinfo/community
-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen
KaZeR
2008-12-14 15:31:07 UTC
Permalink
Post by Lothar Behrens
Yes,
there is a + on bottom right, a - on bottom left, a compas on top left
and a eta on top right as I activated them.
The plain map display is mostly ok (the info picture in the bottom
left may be a bit bigger to easier see it :-)
*=================*
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
*=================*
Can these buttons moved by configuration ?
Moved, no, resized, yes. It's really weird, since we have the same
device, we should have the same results :)
Post by Lothar Behrens
BTW, I now have tested the navigation with my car. It works reasonable
good.
But some crashes - while speaking I think - stops navit to work.
I need a simulation car. Could I create such a car by getting the
calculated route ?
Have a look at the demo vehicule in xml file.
Disable the gpsd vehicule, and enable this one
Once in navit, touch the map, action, <your position>, set at position
Then you can use navit as usual : if you choose a destination, it will
simulate the trip.
Post by Lothar Behrens
I haven't activated tracking for my car definition in my last test :-(
Ah. Logs could help debugging your crashes.
Fox Mulder
2008-12-14 21:28:57 UTC
Permalink
Post by KaZeR
Post by Lothar Behrens
*=================*
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
*=================*
Can these buttons moved by configuration ?
Moved, no, resized, yes. It's really weird, since we have the same
device, we should have the same results :)
I think i know which problem he means because i got the same. The screen
layout is upwards like in the nice ascii picture and not in landscape
mode. Then the 3 initial buttons are in three columns and the outer two
gets out of the screen. It seems that the button arrangement is meant
for landscape mode. I had to adjust the icon size to see all three. So
it would be good if the arrangement of these buttons could be changed to
a matrix of 2/3 cols and 2/3 rows. So i can use 2x3 or 3x2 for buttons
layout in conjunction with normal or landscape screen orientation.

Except for that little optical flaw the internal gui is really nice.
Much better than the first navit version i tried months ago. And now
that i know how to activate the map drag patch i could drag the map
quite fast. :)


Ciao,
Rainer
KaZeR
2008-12-15 06:39:15 UTC
Permalink
Post by Fox Mulder
Post by KaZeR
Post by Lothar Behrens
*=================*
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
*=================*
Can these buttons moved by configuration ?
Moved, no, resized, yes. It's really weird, since we have the same
device, we should have the same results :)
I think i know which problem he means because i got the same. The screen
layout is upwards like in the nice ascii picture and not in landscape
mode. Then the 3 initial buttons are in three columns and the outer two
gets out of the screen. It seems that the button arrangement is meant
for landscape mode. I had to adjust the icon size to see all three. So
it would be good if the arrangement of these buttons could be changed to
a matrix of 2/3 cols and 2/3 rows. So i can use 2x3 or 3x2 for buttons
layout in conjunction with normal or landscape screen orientation.
Well, it's true that the gui is more meant to be used in landscape mode.
I personally use omnewrotate, so i don't have to care about rotating the
screen.
What about using the trick that was posted a few weeks ago for a game,
consisting of writing a wrapper script which rotates the script, then
launch navit?
About the matrix mode, i suggest that you post a feature request on the
tracker : http://trac.navit-project.org
Post by Fox Mulder
Except for that little optical flaw the internal gui is really nice.
Much better than the first navit version i tried months ago. And now
that i know how to activate the map drag patch i could drag the map
quite fast. :)
Thank you :)
Fox Mulder
2008-12-15 19:23:40 UTC
Permalink
Post by KaZeR
Post by Fox Mulder
Post by KaZeR
Post by Lothar Behrens
*=================*
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
| |
*====* *====* *====*
| | | | | |
| | | | | |
*====* *====* *====*
| |
| |
*=================*
Can these buttons moved by configuration ?
Moved, no, resized, yes. It's really weird, since we have the same
device, we should have the same results :)
I think i know which problem he means because i got the same. The screen
layout is upwards like in the nice ascii picture and not in landscape
mode. Then the 3 initial buttons are in three columns and the outer two
gets out of the screen. It seems that the button arrangement is meant
for landscape mode. I had to adjust the icon size to see all three. So
it would be good if the arrangement of these buttons could be changed to
a matrix of 2/3 cols and 2/3 rows. So i can use 2x3 or 3x2 for buttons
layout in conjunction with normal or landscape screen orientation.
Well, it's true that the gui is more meant to be used in landscape mode.
I personally use omnewrotate, so i don't have to care about rotating the
screen.
What about using the trick that was posted a few weeks ago for a game,
consisting of writing a wrapper script which rotates the script, then
launch navit?
About the matrix mode, i suggest that you post a feature request on the
tracker : http://trac.navit-project.org
I only have this problem because within debian the xglamo server isn't
very good and the default framebuffer driver doesn't support screen
rotation. Therefore at the moment i can only use navit in upscale mode.
Christian Anke
2008-12-15 20:17:42 UTC
Permalink
Post by Fox Mulder
Post by KaZeR
Post by Fox Mulder
Post by KaZeR
Post by Lothar Behrens
*=================*
*====* *====* *====*
*====* *====* *====*
*====* *====* *====*
*====* *====* *====*
*=================*
Can these buttons moved by configuration ?
Moved, no, resized, yes. It's really weird, since we have the same
device, we should have the same results :)
I think i know which problem he means because i got the same. The screen
layout is upwards like in the nice ascii picture and not in landscape
mode. Then the 3 initial buttons are in three columns and the outer two
gets out of the screen. It seems that the button arrangement is meant
for landscape mode. I had to adjust the icon size to see all three. So
it would be good if the arrangement of these buttons could be changed to
a matrix of 2/3 cols and 2/3 rows. So i can use 2x3 or 3x2 for buttons
layout in conjunction with normal or landscape screen orientation.
Well, it's true that the gui is more meant to be used in landscape mode.
I personally use omnewrotate, so i don't have to care about rotating the
screen.
What about using the trick that was posted a few weeks ago for a game,
consisting of writing a wrapper script which rotates the script, then
launch navit?
About the matrix mode, i suggest that you post a feature request on the
tracker : http://trac.navit-project.org
I only have this problem because within debian the xglamo server isn't
very good and the default framebuffer driver doesn't support screen
rotation. Therefore at the moment i can only use navit in upscale mode.
_______________________________________________
Openmoko community mailing list
http://lists.openmoko.org/mailman/listinfo/community
Hi,

currently i'am working on an freerunner optimized version of
navit. since the internal gui is available i love navit. and i want to
bring something in. so i have realized, that there is some potential
for speed and useablity optimization.

i have changed the following things:

- improve the calulation / drawaing speed of the internal gui
- add some osd's
- current speed
- current street name
- next street name
- gpsd (! not file or demo) informations
(the position, dimensions and font-size is configurable in the xml file)
- improved keyboard buttons of the internal gui
- add callback hooks to the gpsd plugin:
- current speed
- satellite stuff

currently i hold the code in an git controlled repo (cloned via git-svn). So,
if anyone can tell me where i easily can host this repo (with the navit svn
repo from in background), please tell me.

the code: dont be angry with me, this is my first c project!!!

Carci
Timo Juhani Lindfors
2008-12-15 20:32:53 UTC
Permalink
Post by Christian Anke
currently i'am working on an freerunner optimized version of
navit. since the internal gui is available i love navit. and i want to
Are you going to send the fixes upstream?
Christian Anke
2008-12-15 21:02:14 UTC
Permalink
Post by Timo Juhani Lindfors
Post by Christian Anke
currently i'am working on an freerunner optimized version of
navit. since the internal gui is available i love navit. and i want to
Are you going to send the fixes upstream?
_______________________________________________
Openmoko community mailing list
http://lists.openmoko.org/mailman/listinfo/community
no, and i have no idear how to do this.

i think i would be better if anyone test
the changes befor i give them to upstream.

or is the navit svn repo for testing such changes?

Carci
KaZeR
2008-12-15 21:15:55 UTC
Permalink
Post by Christian Anke
no, and i have no idear how to do this.
i think i would be better if anyone test the changes befor i
give them to upstream.
or is the navit svn repo for testing such changes?
SVN repo is there for this kind of things. Any help is warmly welcomed :)
It would be really sad if nice ideas or code would be kept apart.
If you have an irc client handy, please join #navit on freenode, we'll meet
there.
If you don't, you can contact me by mail directly.
Timo Juhani Lindfors
2008-12-15 22:08:35 UTC
Permalink
Post by Christian Anke
or is the navit svn repo for testing such changes?
You better ask upstream directly in this case.

Marco Trevisan (Treviño)
2008-12-14 20:25:42 UTC
Permalink
Post by Nathan Kinkade
Have you modified navit.xml? In this version there is an option to
set the gui to a mode called "internal," which is optimized for small
screens. For the "internal" gui type you can also specify icon size.
I believe the default opkg specifies "internal," but doesn't set the
icon size, though there is a sample line in the config file for the
Neo.
I don't like modifying the default /usr/share/navit/navit.xml, so I like to
# mkdir ~/.navit
# cp /usr/share/navit/navit.xml ~/.navit/
Edit that file, then search for "internal." Around line 30 you'll see
a sample setting for <gui /> for the Neo. Uncomment that, then
comment out the other <gui /> element just below it.
I also found this setting quite nice: a few more lines down there are
number of <osd /> elements (On Screen Display), set zoom_in, zoom_out,
and gui_internal_fullscreen to enabled and disable the rest. This
will give you transparent zoom in and zoom out buttons in the bottom
corners, and a fullscreen toggle in the upper left corner. In
fullscreen mode and with this "internal" gui type, Navit is really
looking like a consumer level map/navigation program on the Neo.
GUI Internal has some issues (read more at [1]) to me, so I prefer using
the GTK gui without all but the menu bar. Those are is my navit.xml gui
parameters:

<gui type="gtk" menubar="1" toolbar="0" statusbar="0" />
<osd enabled="yes" type="compass"/>
<osd enabled="yes" type="eta"/>
<osd enabled="yes" type="navigation"/>
<osd enabled="yes" type="button" x="-96" y="-96"
command="zoom_in" src="zoom_in.xpm"/>
<osd enabled="yes" type="button" x="0" y="-96"
command="zoom_out" src="zoom_out.xpm"/>
</gui>

It's quite good to me... Just two things:
- The cursor should be bigger (mainly with a "bolder" outline) and its
colors (I've set also color2) should be set to other values (more
different to the main street colors).
- The ETA and Navigation OSD boxes should be bigger too. It's quite
hard to look at them while driving (I'm keeping the FR near my
steering wheel but it's hard to read them anyway).

Ah, I forgot to say that after this upgrade (I used the packages linked
in the wiki before) navit seems to suggest me to turn too many times
also if I'm still keeping the main way (using the Reiserplaner maps).

[1] http://n2.nabble.com/navit-on-FR-report-tp1631491p1641083.html
--
Treviño's World - Life and Linux
http://www.3v1n0.net/
Marco Trevisan (Treviño)
2008-12-14 20:57:42 UTC
Permalink
Post by Marco Trevisan (Treviño)
- The cursor should be bigger (mainly with a "bolder" outline) and its
colors (I've set also color2) should be set to other values (more
different to the main street colors).
I've configured it a little... Using these vehicle settings the cursor
is slightly better:

<vehicle name="Local GPS" enabled="no" active="1"
source="gpsd://localhost" gpsd_query="w+xj"
color="#0000ff" color2="#00ff00">
<cursor w="26" h="26">
<itemgra>
<circle color="#33ffff" radius="30" width="15">
<coord x="0" y="0"/>
</circle>
</itemgra>
<itemgra speed_range="-2">
<polyline color="#ff00ff" width="20">
<coord x="0" y="0"/>
<coord x="0" y="0"/>
</polyline>
</itemgra>
<itemgra speed_range="3-">
<polyline color="#ff0000" width="5">
<coord x="-7" y="-10"/>
<coord x="0" y="12"/>
<coord x="7" y="-10"/>
</polyline>
</itemgra>
</cursor>
</vehicle>
--
Treviño's World - Life and Linux
http://www.3v1n0.net/
arne anka
2008-12-14 21:15:31 UTC
Permalink
could you post your config?
i am struggling unsuccessfully with the configuration of the navigation --
so far navit does nothing but to show where i am, how to make navigation
working remains a mystery to me (the navit page and wiki are not helpful
in this respect).
Marco Trevisan (Treviño)
2008-12-14 22:05:43 UTC
Permalink
Post by arne anka
could you post your config?
Who? I?
Post by arne anka
i am struggling unsuccessfully with the configuration of the navigation --
so far navit does nothing but to show where i am, how to make navigation
working remains a mystery to me (the navit page and wiki are not helpful
in this respect).
For navigatin you can use the menu (tap on the map for setting the
destination position) or the Route -> Destination menu.
When you're there write the country you're searching in (removing the
ending space if you use a finger-keyboard that uses a dictionary), then
the City (with commercial maps just one word; if it has more, put the
more "important"), and then the Street.
--
Treviño's World - Life and Linux
http://www.3v1n0.net/
arne anka
2008-12-14 22:57:15 UTC
Permalink
Post by Marco Trevisan (Treviño)
For navigatin you can use the menu (tap on the map for setting the
destination position) or the Route -> Destination menu.
When you're there write the country you're searching in (removing the
ending space if you use a finger-keyboard that uses a dictionary), then
the City (with commercial maps just one word; if it has more, put the
more "important"), and then the Street.
been there, done that already.
the destination window stays regardless which button i hit, no indication
of any calculation or so, which would explain why the window does not
disappear.
Fox Mulder
2008-12-15 01:00:38 UTC
Permalink
Post by arne anka
Post by Marco Trevisan (Treviño)
For navigatin you can use the menu (tap on the map for setting the
destination position) or the Route -> Destination menu.
When you're there write the country you're searching in (removing the
ending space if you use a finger-keyboard that uses a dictionary), then
the City (with commercial maps just one word; if it has more, put the
more "important"), and then the Street.
been there, done that already.
the destination window stays regardless which button i hit, no indication
of any calculation or so, which would explain why the window does not
disappear.
The destination window doesn't disappear even after selecting the
desired destination for routing. I had to close the destination window
by hand and in the main window it calculates the route as expected.
Don't know if this window staying is a bug or a feature. ;)
Only the way how to select the destination is sometimes a bit strange. I
tried to route me from one city to another ~6km and it worked quite good.

Ciao,
Rainer
KaZeR
2008-12-15 13:44:40 UTC
Permalink
-----Message d'origine-----
Envoyé : dimanche 14 décembre 2008 23:57
À : List for Openmoko community discussion
Objet : Re: Navit actions menu layout ?
Post by Marco Trevisan (Treviño)
For navigatin you can use the menu (tap on the map for setting the
destination position) or the Route -> Destination menu.
When you're there write the country you're searching in
(removing the
Post by Marco Trevisan (Treviño)
ending space if you use a finger-keyboard that uses a dictionary),
then the City (with commercial maps just one word; if it
has more, put
Post by Marco Trevisan (Treviño)
the more "important"), and then the Street.
been there, done that already.
the destination window stays regardless which button i hit,
no indication of any calculation or so, which would explain
why the window does not disappear.
It's right that a progress meter of route calculation is missing.
There used to be one, but code has changed and it has now been removed. But
there is a ticket in the tracker to reimplement it.
Are you trying to compute a long trip?
arne anka
2008-12-15 18:33:46 UTC
Permalink
Post by KaZeR
Are you trying to compute a long trip?
no, just looking what navit is able to.
i take it the starting point is my current location? then it would have
been about 7 kilometers -- how long is that supposed to take?
Fox Mulder
2008-12-15 19:21:28 UTC
Permalink
Post by arne anka
Post by KaZeR
Are you trying to compute a long trip?
no, just looking what navit is able to.
i take it the starting point is my current location? then it would have
been about 7 kilometers -- how long is that supposed to take?
I calculated a route of about 6km and it only took some seconds to
calculate the route. But this route is quite easy with mostly streets
outside of a city. ;)
KaZeR
2008-12-14 13:00:49 UTC
Permalink
Post by Lothar Behrens
Hi,
today I have installed the current release from navit and it looks
much better. But I have a question about the layout of the buttons in
the actions panel.
How to change the layout from horizontal to vertical ?
The problem: I do not see all of the buttons :-(
Hi Lothar,

Would you be able to make a screenshot of the problem? With the new
default configuration it should look nice.
I guess that you didn't updated navit.xml (probably not to loose your
maps settings) and that you don't have uncommented the icon_xs size tag
for example.
Then you probably miss a few other enhancements :)

Do you have a navit.xml in /home/root/.navit/ ?
Loading...