Re: Navit actions menu layout ?

2008-12-15 Thread arne anka
 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?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Fox Mulder
arne anka wrote:
 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. ;)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Fox Mulder
KaZeR wrote:
 Fox Mulder a écrit :
 KaZeR wrote:
   
 Lothar Behrens a écrit :
 
 It works, but what I mean, is, these are partly out of screen:

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

 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
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Christian Anke
Am Montag 15 Dezember 2008 20:23:40 schrieb Fox Mulder:
 KaZeR wrote:
  Fox Mulder a écrit :
  KaZeR wrote:
  Lothar Behrens a écrit :
  It works, but what I mean, is, these are partly out of screen:
 
  *=*
 
 
**  **  **
 
 
**  **  **
 
 
 
**  **  **
 
 
**  **  **
 
 
  *=*
 
  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
 community@lists.openmoko.org
 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


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Timo Juhani Lindfors
Christian Anke carcin...@gmx.net writes:
 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
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Christian Anke
Am Montag 15 Dezember 2008 21:32:53 schrieb Timo Juhani Lindfors:
 Christian Anke carcin...@gmx.net writes:
  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
 community@lists.openmoko.org
 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Navit actions menu layout ?

2008-12-15 Thread KaZeR
 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.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-15 Thread Timo Juhani Lindfors
Christian Anke carcin...@gmx.net writes:
 or is the navit svn repo for testing such changes?

You better ask upstream directly in this case.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Nathan Kinkade
2008/12/14 Lothar Behrens lothar.behr...@lollisoft.de:
 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
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread KaZeR
Yorick Moko a écrit :
 i did that but i get:
 r...@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)

   

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?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread KaZeR
Lothar Behrens a écrit :
 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/ ?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread 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 :-)


Am 14.12.2008 um 14:59 schrieb KaZeR:


Yorick Moko a écrit :

i did that but i get:
r...@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)




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?


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



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen








___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread KaZeR

Lothar Behrens a écrit :

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 :-)






It works, but what I mean, is, these are partly out of screen:

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

  ||  ||  ||
  **  **  ** 
| |

| |
| |
  **  **  ** 
  ||  ||  ||

  ||  ||  ||
  **  **  ** 
| |

| |
*=*

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 :)


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.


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

Ah. Logs could help debugging your crashes.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
Nathan Kinkade wrote:
 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/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
Marco Trevisan (Treviño) wrote:
 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).

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=#ff color2=#00ff00
cursor w=26 h=26
itemgra
circle color=#33 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=#ff 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/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread arne anka
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).

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Fox Mulder
KaZeR wrote:
 Lothar Behrens a écrit :
 It works, but what I mean, is, these are partly out of screen:

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

 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Marco Trevisan (Treviño)
arne anka ha scritto:
 could you post your config?
Who? I?

 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/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread arne anka
 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.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread Fox Mulder
arne anka wrote:
 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit actions menu layout ?

2008-12-14 Thread KaZeR

Fox Mulder a écrit :

KaZeR wrote:
  

Lothar Behrens a écrit :


It works, but what I mean, is, these are partly out of screen:

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

  ||  ||  ||
  **  **  ** 
| |

| |
| |
  **  **  ** 
  ||  ||  ||

  ||  ||  ||
  **  **  ** 
| |

| |
*=*

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

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 :)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community