Using Erels Gps4ppc Open Source App., I would like to Integrate this...

Discussion in 'Questions (Windows Mobile)' started by wm.chatman, Mar 18, 2009.

  1. wm.chatman

    wm.chatman Well-Known Member Licensed User

    Hi Folks,

    :BangHead:After weeks of trying this myself, i came to a HALT!:BangHead:

    I would like to Integrate this...

    In the Menu Constellation I would like to Retrieve the Satellites Constellation information.
    Also I would like to be able to Calculate Sunset and Sunrise Time, (not to forget the time change).
    I added a imgButtSats Click on Form1, for the Satellite Signals.
    And at last I would like to use a jpg or bmp image for a Moving Map.
    Also if at all possible i would like to set Waypoints.
    Since the map will be a picture (jpg, bmp), I would like to use the function DrawImage to put the picture on the screen, where the position of the origin is calculated as the distances from the relative coordinate to the map origin, multiplied by the factor of conversion from distance to pixels on the screen. The position is refreshed every time we get new position coordinates from the gps. Enclosed you will find a Positions Icon, Home MapB(JPG).

    I think that i have to use GetSatellitesData, for the Sat Signals but i am not sure.
    GetSatellitesData returns a structured array containing the following information:
    ID - A number representing each satellite.
    SignalStrength - The signal strength. Actual values may change between different GPS devices.
    However higher values are better. Azimuth - Satellite azimuth in degrees.
    Elevation - Satellite elevation in degrees. Used - True if the GPS currently uses this satellite and false otherwise.

    If you could help me with this I would gladly show my Gratitude, and donate some $.


    Thank you very much for your time and efforts!!!

    Sincerely,

    WmC

    Viele Grüße an alle im Forum

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
    Last edited: May 19, 2009
  2. derez

    derez Expert Licensed User

    Attached Files:

    Last edited: Mar 19, 2009
  3. wm.chatman

    wm.chatman Well-Known Member Licensed User

    satellites_soft

    Hello derez

    thank you for the Help, but i can not use satellites_soft. :sign0013:Cant find ImageLibExDesktop.dll. Where can i find the dll? Still i am not sure if this is usable. The (GPSDriver.dll) i cant use with the PPC of mine. As for the other App. it will not work!
    It would be very, very nice if we get Erels little App to work.
    I am out in the woods alot working, so sure be nice to have this in working order. It would really make me Happy. Again, I would show my Gratitude!!!

    Thank you much,
    Wmc


    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5555"ARM"/Windows CE 4.2
    Bayern/Germany
     
  4. agraham

    agraham Expert Licensed User

  5. wm.chatman

    wm.chatman Well-Known Member Licensed User

    ATTN: hello Mr. Agraham

    Hello Mr. agraham

    Thanks for your help, again.:)
    After searching I found the dll. But, no LUCK with it. It also does not work.
    Since I do not have a build in GPS Module, I can not use the GPSDriver.dll!
    Is there another way we can get aroun this Problem?:sign0085:

    Again Thank you very much for YOUR Help!!!

    Sincerely

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5555"ARM"/Windows CE 4.2
    Bayern/Germany
     
  6. agraham

    agraham Expert Licensed User

  7. wm.chatman

    wm.chatman Well-Known Member Licensed User

    ATTN: Mr. Agraham

    Hi Mr. Agraham

    I am assuming we are talking about the PPC here. (post #101).The OS I use is Windows CE 4.2/2003. As for the
    Start->Settings->System->External GPS->Hardware->GPS hardware port. I do not have the (External GPS) option, on the PPC OS I use. For the PPC it is (SSP Slave). On the Laptop I use Blue FRITZ USB, to receive Connection with a Bluetooth GPS Clip-on and this is also ClipOn-BTGPS: (SSP Slave). So, how can I Integrate the above mentiond Items? (post #1).
    And I thought the GPSDriver is only supported by Windows Mobile 5.0.
    If I miss-understand something here, please do let me know.


    Thank you very much for your time and efforts!!!

    Sincerely,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
    Last edited: Mar 20, 2009
  8. agraham

    agraham Expert Licensed User

    :sign0013: I thought, because you mentioned GetSatelliteData in your first post, that you were trying to convert GPS4PPC to use GPSDriver.dll which is, as you say, only available on WM5.0 and later. However you can use my http://www.basic4ppc.com/forum/additional-libraries/3327-gpsserial-library.html#post18685 which looks much the same as GPSDriver but runs on any device with .NET2.0 and a serial port connected to a GPS.

    Where did that constellation picture come from? It looks like the one from my GPSSerial demo, in which case why is the GPS4ppc code you attached not using GPSSerial? You won't be able to do a constellation with GPS.dll as it doesn't give you the satellite data. I obviously do not understand your problem or what you are trying to do. :confused:

    Exactly what are you having trouble with and what do you want to do?
     
  9. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi Mr. Agraham

    Thanks a heap for your quick Responce!

    Yes, it is your GPSSerial demo, and it does Work on my PPC! VERY NICE.
    I would like to Integrate the Constellation Form of your APP.,to use with Erels Gps4ppc and would like to get the Information.It shows the ID, SNR, El, Az,ect.like on your Information Form. Erels Gps4ppc APP. Connects on (port8) on my PPC, and it also uses Serial2.dll. It works a heap. So using Erels Gps4ppc APP.,I want to Integrate your Constellation Form, and the satellite data. Then I need Sunset/Sunrise. At last I really, really would like to add a
    MovingMap JPG/BMP that shows position coordinates on the Map which is refreshed every time we get new position coordinates from the gps, and at last set Waypoints. I have been dreaming of something like that, since I started working out in the Field. I have to know where I am at all times thus using a Map, I can set waypoints. At times I dont get out of the Woods, until way after dark!

    So...
    Add Functionality to Erels Gps4ppc APP:

    1)Integrate your Constellation Form.
    2)your satellite data
    3)Sunset/Sunrise
    4)Movingmap/Waypoints


    Mr. Agraham, Thank you very very much for your time and efforts with Helping me!!!
    If you have anymore Questions, please do let me know!

    Sincerely,

    WmC
    P.S. :):)I could give you a Kiss for helping, but...ha, ha, ha.:):)

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
    Last edited: May 19, 2009
  10. agraham

    agraham Expert Licensed User

    As you will need to use GPSSerial.dll instead of GPS.dll to get the data for the constellation display it would be easier to integrate what you want from GPS4PPC into my GPSSerialData. I would put each of the forms that you want from GPS4PPC into a separate module and pick up the GPS data from Main form Public variables as I do for the satellite data in the Graphic module that shows the constellation.
     
  11. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi Mr. Agraham

    Again,Thanks a heap for your quick Responce! You are Quick.
    O.K. on all that Info! But, a new Member to the Site and also new to GPS Programming this is going to be pretty hard for me to do.
    So I must ask: :sign0085:Would you PLEASE Help me with this?:sign0137:


    Sincerely,

    WmC
    P.S. I could give you a Kiss for helping, but...ha, ha, ha.

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
  12. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi Mr. Agraham

    Again,Thanks a heap for your quick Responce! You are Quick.
    O.K. on all that Info! But, a new Member to the Site and also new to GPS Programming this is going to be pretty hard for me to do.

    Mr. Agraham you stated : I would put each of the forms that you want from GPS4PPC into a separate module and pick up the GPS data from Main form Public variables as I do for the satellite data in the Graphic module that shows the constellation.
    I tried this:
    With your GPS SerialData APP I went to Menu/Moduls/AddExistingModule. Here I added all the GPS4PPC Forms. Is this correct? If it is, then we are in good shape. Sorry, but I do not understand pick up the GPS data from Main form Public variables as I do for the satellite data in the Graphic module that shows the constellation.

    So I must ask: :sign0085:Would you PLEASE Help me with this?:sign0137:


    Sincerely,

    WmC
    P.S. I could give you a Kiss for helping, but...ha, ha, ha.

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
    Last edited: Mar 20, 2009
  13. agraham

    agraham Expert Licensed User

    It's your program - you tell me! There's no one correct way to do anything.


    The GPS object belongs to the Main module. If it is open it is read once per second by Main.Timer1_Tick which stores the satellite data for the Constellation in Public SatsData() and then calls the update code of whichever Form is presently shown. Although the update code could read Main.GPS directly to get the data I chose to store it in a Public array. You could modify Timer1 to store whatever other data your other Forms want in Public variables or you could choose to read Main.GPS directly from the update code.

    Only to the extent of answering specific questions or problems. I'm not going to code it for you as I spend far too much time doing this already and I have other things I should be spending my time on (the grass and weeds are growing now spring is here :( and a heron's just had most of the goldfish :mad::mad::mad:).
     
  14. wm.chatman

    wm.chatman Well-Known Member Licensed User

    Hi Mr.Agraham

    Good Morning,

    Thanks to your quick Responce! I was up all Night working on the code, but cant get things in Order. :sign0148:Added all of the GPS4PPC Forms, did some coding and Timer1 modification also, but still does not want to Work.(Darn it):BangHead:
    Its pretty hard to see things straight! Regardless of what I try, just cant get the ends together, on my own.

    Mr.Agraham, Thank you very very much for your time and efforts with Helping me!:)

    :sign0085:Now I am asking on this Forum for direct Help!:sign0085:
    Is anybody willing to code this for me? It sure means alot to me. I would really appreciate this!!!I would show my Gratitude.

    Sincerely,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
  15. derez

    derez Expert Licensed User

    The prograqm you plan to have is not something to complete in one night.
    It took me two years (on and off).
    If you want an application similar to what you described, look at GPSTuner:
    GPS Tuner - Offroad Navigation
     
  16. agraham

    agraham Expert Licensed User

    I think that GPSTuner needs WM5.0 or later and his device is using WM2003 :(
     
  17. derez

    derez Expert Licensed User

    Wmc

    version 5 runs on 2003

    since it is not sold anymore, may be you can get it for free (I have the installation file but you'll need a registration code).
     
    Last edited: Mar 22, 2009
  18. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi Mr David Erez
    Thanks a heap for trying to help.
    GPSTuner is a killer App. :sign0060: It does work on the OS I use. Also, it is NOT OPEN SOURCE CODE! But I dont need all of that.
    I want to use my own Maps (JPG/BMP), and would like to set Waypoints.
    Also not to forget Sunrise/Sunset. At the time I am working on a App using Databanks. Its a might simpler, then coding GPS. :BangHead:But I am also busting :BangHead:Heads, with this.

    Mr. Agraham wrote:
    The GPS object belongs to the Main module. If it is open it is read once per second by Main.Timer1_Tick which stores the satellite data for the Constellation in Public SatsData() and then calls the update code of whichever Form is presently shown. Although the update code could read Main.GPS directly to get the data I chose to store it in a Public array. You could modify Timer1 to store whatever other data your other Forms want in Public variables or you could choose to read Main.GPS directly from the update code.

    So Mr. Erez, if you would like to help me with this, well...:sign0137:

    THAT, I would Appreciate very much!

    Sincerely,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC:hp5550"ARM"/Windows CE 4.2
    Bayern, Germany
     
    Last edited: Mar 22, 2009
  19. taximania

    taximania Well-Known Member Licensed User

    In reply to your PM, I can't get any Basic4ppc GPS app to run on my device.
    So I'm sorry I can't be of any help on this one :sign0137:
     
  20. derez

    derez Expert Licensed User

    My contribution to your project - my map calibration program that will show you how I made the maps zoom and move.
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice