Page 10 of 12 FirstFirst ... 6789101112 LastLast
Results 91 to 100 of 118

Thread: Map This! v0.2

                  
   
  1. #91

    Default

    deniska i have a question about the routing function.
    are the waypoints stored in gpx format? there is a javascript existing to give out gpx data after calculation of a route on google maps. it would be pretty easy to just store the txt files on the psp then. perhaps thats the way to go, for easy navigation



    thats what a gpx file would look like:

    Code:
    <?xml version="1.0"?>
    <gpx version="1.1"
         creator="GMapToGPX 4.10
         xmlns="http://www.topografix.com/GPX/1/1"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
       <rte>
          <name>Driving directions</name>
          <cmt>via Google Maps</cmt>
          <rtept lat="50.9775" lon="6.88854">
             <name>Start</name>
             <cmt>Richtung Ost von Hugo-Eckener-Straße</cmt>
          </rtept>
          <rtept lat="50.97751" lon="6.90228">
             <name>Turn 1</name>
             <cmt>In Butzweilerstraße rechts halten</cmt>
          </rtept>
          <rtept lat="50.97059" lon="6.91621">
             <name>Turn 2</name>
             <cmt>Links auf die Auffahrt zur A57 nach Zentrum abbiegen</cmt>
          </rtept>
          <rtept lat="50.96921" lon="6.9193">
             <name>Turn 3</name>
             <cmt>Die Auffahrt nach Zentrum nehmen</cmt>
          </rtept>
          <rtept lat="50.96779" lon="6.9203">
             <name>Turn 4</name>
             <cmt>In den Verkehr nach A57/K4 einfädeln</cmt>
          </rtept>
          <rtept lat="50.96219" lon="6.92559">
             <name>Turn 5</name>
             <cmt>Weiter auf K4 nach Zoobrücke/Zentrum/Lindenthal</cmt>
          </rtept>
          <rtept lat="50.95655" lon="6.92932">
             <name>Turn 6</name>
             <cmt>Weiter in Richtung K4</cmt>
          </rtept>
          <rtept lat="50.95315" lon="6.93873">
             <name>Turn 7</name>
             <cmt>Weiter auf Innere Kanalstraße</cmt>
          </rtept>
          <rtept lat="50.95794" lon="6.9585">
             <name>Turn 8</name>
             <cmt>Weiter auf B55a</cmt>
          </rtept>
          <rtept lat="50.9471" lon="6.98557">
             <name>Turn 9</name>
             <cmt>Die Ausfahrt nehmen</cmt>
          </rtept>
          <rtept lat="50.94482" lon="6.9853">
             <name>Turn 10</name>
             <cmt>In Pfälzischer Ring rechts halten</cmt>
          </rtept>
          <rtept lat="50.94454" lon="6.98407">
             <name>Turn 11</name>
             <cmt>Weiter auf Deutz-Mülheimer Straße</cmt>
          </rtept>
          <rtept lat="50.93975" lon="6.97889">
             <name>Turn 12</name>
             <cmt>In Opladener Straße rechts abbiegen</cmt>
          </rtept>
          <rtept lat="50.9399" lon="6.97386">
             <name>Turn 13</name>
             <cmt>In Auenweg rechts abbiegen</cmt>
          </rtept>
          <rtept lat="50.94182" lon="6.97335">
             <name>Turn 14</name>
             <cmt>In Messeplatz links abbiegen</cmt>
          </rtept>
          <rtept lat="50.94179" lon="6.97262">
             <name>Arrive</name>
             <cmt>Arrive at destination</cmt>
          </rtept>
       </rte>
    </gpx>

  2. #92
    DCEmu Newbie
    Join Date
    Jul 2006
    Location
    S.C. (USA)
    Posts
    78
    Rep Power
    0

    Default look whos cool and just posted :)

    Hey Lewbacca, was wondering what happened to you! Glad to see you are up & running now with gps.

  3. #93
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    81

    Default

    nope, route is stored as a collection of waypoints in my propriatary format..
    Basically, all data is the same, but it's more compact...
    BTW, in7ane already has a tool to import google's directions to PSP

  4. #94
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    81

    Default

    Quote Originally Posted by jimmy7
    Deniska, do you have any idea why the gps coordinates are wrongly displayed when the world map is used ? They are perfectly OK when I grab a local map of the city, but LAT is off by 0.496214 and LON by 0.001956.

    On another issue, I was thinking of whether it would be possible of getting a wifi sniffer into the mapthis (i.e. create waypoints of hotspots on the fly). So I wonder why wlan must be disabled to actually receive a GPS signal, as it is not disturbing the gps receiver (the led is still flashing and from time to time it also works OK). Does it mean there is noise on the serial port cable ? If so, could one reduce the value of the resistor to xxx Ohm to fix this or even amplify the signal/ filter out the noise (by some bandpass filter) ?

    And finally I think storing map files as single files on a vfat filesystem is extremely inefficient. Maybe one should extract the static filesystem from the linux kernel, such that there is only a single file on vfat containing a whole map.

    Anyway, keep up the great work - I really like this program a lot!

    If you use global map's coordinates to get local maps - your original coordinates will not be in the center of your acquired local map in most of the cases, since the program rounds up the initial coordinates to the nearest tile at the highest zoom requested...
    I am not sure if this is what you expereinced, but if it is - try using visual tool by in7ane to get maps...- it's more intuitive and you'll see exactly what get before you commit to long download...

    I did not quite understand which led you are talking about... from what I see, the wifi seems to shut off the serail port (as well as a disc in UMD drive) whenever the wifi module is loaded..
    In anycase, adding more parts to the cable DIY scheme will probably scare away most of the users ;-)

    Of course, I am aware of the problems with fat... but this is the only solution that was fast and robust enough given the timeframe I had..- I wanted to showcase the first version at NEO FLASH coding contest... (I did threw in the zip support, but it only works well for relatively small maps.. at some point the look up inside the zip file takes just too much time...
    If you want to contribute to this project and capable of porting existing or creating a custom virtual file system, please let me know..

  5. #95

    Default

    Quote Originally Posted by A Fn NOOB
    Hey Lewbacca, was wondering what happened to you! Glad to see you are up & running now with gps.
    i am very impressed on how far the program got. i still have much left to read...

    i have some problems with the gps device.. but i hope to get them fixed soon..

    at first fix it takes forever and u mustnt touch the housing as it fixes your position..
    and then if i get data from the device the coordinates are jumping up and down... its not the cable since i determined that its jumping using bluetooth function..


    i think there may be some interfering sources around... going to examine that later on.

    thank you for your welcoming words

  6. #96
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    81

    Default

    it helps if you don't move the device while it tries to aquire the satellites... it usually get's the fix withing 35-40 seconds, if you don't move it and the sky is clear..
    Sometimes, in bad weather or in downtown with lot's of skyscrappers it does start to jump the location +- 30 meters.. I guess it's because of the interference and signal reflection...
    Then again, if it happens alot for you, maybe you need to change the device or try to get the external antenna..

  7. #97

    Default

    if it was just not to move the gps... i can't even hold it in my hands while getting a fix...

    but ok.. it's not that bad to put it somewhere the first minute..

  8. #98
    DCEmu Newbie
    Join Date
    Sep 2006
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by deniska
    If you use global map's coordinates to get local maps - your original coordinates will not be in the center of your acquired local map in most of the cases, since the program rounds up the initial coordinates to the nearest tile at the highest zoom requested...
    I am not sure if this is what you expereinced, but if it is - try using visual tool by in7ane to get maps...- it's more intuitive and you'll see exactly what get before you commit to long download...

    I did not quite understand which led you are talking about... from what I see, the wifi seems to shut off the serail port (as well as a disc in UMD drive) whenever the wifi module is loaded..
    In anycase, adding more parts to the cable DIY scheme will probably scare away most of the users ;-)

    Of course, I am aware of the problems with fat... but this is the only solution that was fast and robust enough given the timeframe I had..- I wanted to showcase the first version at NEO FLASH coding contest... (I did threw in the zip support, but it only works well for relatively small maps.. at some point the look up inside the zip file takes just too much time...
    If you want to contribute to this project and capable of porting existing or creating a custom virtual file system, please let me know..
    Deniska, I've send you an email and yes I am willing to contribute. Also I ask tyranid whether the serial port AND wlan can be used at the same time. The answer is yes. For the gps coordinates, I think you should always display the correct gps coordinates and only internally do the rounding to the nearest tile. For the filesystem I have much simpler (and faster) ideas, but more in private mail.

    j7

  9. #99

    Default

    Hello,

    I'm also interested in contributing to this project. For that reason, I've taken some time to browse the source code. My immediate concern is knowing how to set the right settings for my 4800 baud GPS. I'm aware of a BAUD=x setting and a READTIME=x setting in the config file.

    So I went browsing in the source to find out how those are used. I was confused by something. The 'baud' setting is currently set only if SDL_SOUND is defined; otherwise, the baud rate is not set as far as I can see (this is in the v02 unpatched sources).

    I noted that the readtime variable is used to control a loop.

    My question: is it intentional not to set the baud rate when SDL_SOUND is undefined? If so, why? Couldn't this cause problems with devices running at arbitrary baud rates?

    Thank you,

    ~0

  10. #100
    PSP Coder deniska's Avatar
    Join Date
    Jul 2005
    Posts
    1,557
    Rep Power
    81

    Default

    Jimmy7,

    Hmm, I did not get any emails.. perhaps you used invalid address or your adress got filtered for some reason... try to PM me @ DCEMU or PS2DEV forums...

    About the coordinates - perhaps we were talking about different issues... I checked the map coordinates at zoom 15 against google maps at the same zoom - they seem to be the same... so maybe you could clarify how you get the .5 degree deviation..

Page 10 of 12 FirstFirst ... 6789101112 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •