Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Integrating my Nav Software

  1. #1
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204

    Integrating my Nav Software

    Hi,

    I've written a navigation package that I'd like to integrate embed inside of RoadRunner. I've read through the FAQs but am still unable to get my system work with RoadRunner. I was hoping someone might be able to help.

    I have edited the external GPS section in RRConfig to point to my application's exe. I have included the window name as well. When I start the application via RoadRunner I get a variety of odd results including:

    - Text output to the name of one of my C++ files used to create the program
    - The directory that the exe lives inside (Eg. c:\vault\mynav\Release).

    Are there particular requirements that my application must meet to be "embedable"? Right now it is designed to run full screen with no borders (root window is WS_POPUP).

    Any suggestion you might have would be very helpful.

    Regards,
    Craig

  2. #2
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787
    Hi,

    You need to create an application area on the skin that you want to embed the program onto, youll get the idea from these 2 posts...

    How do I launch an application in its own "skin" or "screen" ? Launching applications from ANY skin/screen in RR

    How to embbed any Application in RR ? To embbed an application

    put this on the button that calls for your satnav program

    this is an example for my satnav using iguidance:

    LOAD;iguidance.skin;GPS;c:\Program Files\iNav\iGuidance Europe\iGuidance.exe;iGuidance",""

    this is contained in the iguidance.skin, which is where i am embedding the sat nav software:

    A01,204,42,596,516,192

    ive attached the 2 skin files, so you can have a look at the code, and change them to work with your program.

    Have Fun!
    Attached Files Attached Files
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  3. #3
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Thanks for the help. I'll read through the links. I'm a bit confused why I would need to modify a skin. In the past I've embedded a variety of external Nav systems just by changing the "external app" GPS settig in rrconfig. I've used USGS Topo, DeLorme TopoMap USA, and Freedrive w/o having to modify my current skin. I believe my application is doing something that is preventing it from running correctly.

    My application was designed to automatically run as a full screen window, and if it was smaller than the screen size to run centered on the screen. By full-screen window I mean that it is a borderless window, always on top, that occupies the full size of the screen (not full-screen mode like a game). I noticed that RR runs in the upper left hand corner when it is running smaller than the current screen size. Rather than just experimenting around to figure out how my app should behave to be compatible with RR, I thought I'd ask so I know that I have a clear understanding of the requirements.

    Thanks,
    Craig


    Quote Originally Posted by jonessc View Post
    Hi,

    You need to create an application area on the skin that you want to embed the program onto, youll get the idea from these 2 posts...

    How do I launch an application in its own "skin" or "screen" ? Launching applications from ANY skin/screen in RR

    How to embbed any Application in RR ? To embbed an application

    put this on the button that calls for your satnav program

    this is an example for my satnav using iguidance:

    LOAD;iguidance.skin;GPS;c:\Program Files\iNav\iGuidance Europe\iGuidance.exe;iGuidance",""

    this is contained in the iguidance.skin, which is where i am embedding the sat nav software:

    A01,204,42,596,516,192

    ive attached the 2 skin files, so you can have a look at the code, and change them to work with your program.

    Have Fun!

  4. #4
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787
    the way your talking, it should also work, i find it more efficient to have a seperate skin for each nav program, for example i run tom tom, freedrive, iguidance but the only program that i have specified in rrconfig is "freedrive" with the "external" selected.

    each satnav i use has a skin, like the files i attached for example i have a button with this code:

    "LOAD;iguidance.skin;GPS;c:\Program Files\iNav\iGuidance Europe\iGuidance.exe;iGuidance",""

    it will then embed the prog into iguidance.skin

    Iguidance.skin has the following code to define how its going to embed:

    A01,204,42,596,516,192 (this is the application size parameter)
    C01,204,42,596,516,192 (This is the clipping area)

    This works fine for me, you may also want to check if you have the program details defined correctly, so it knows what program it is embeding into skin, attach your skins if you want me to take a look

    Quote Originally Posted by millec View Post
    Thanks for the help. I'll read through the links. I'm a bit confused why I would need to modify a skin. In the past I've embedded a variety of external Nav systems just by changing the "external app" GPS settig in rrconfig. I've used USGS Topo, DeLorme TopoMap USA, and Freedrive w/o having to modify my current skin. I believe my application is doing something that is preventing it from running correctly.

    My application was designed to automatically run full-screen, and if it was smaller than the screen size to run centered on the screen. I noticed that RR runs in the upper left hand corner when it is running smaller than the current screen size. Rather than just experimenting around to figure out how my app should behave to be compatible with RR, I thought I'd ask so I know that I have a clear understanding of the requirements.

    Thanks,
    Craig
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  5. #5
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Yeah, I'm updating my software now to run either as a normal window or in it's custom fullscreen window mode if it is running stand-alone. Hopefully that will do the trick.

    Thanks again for the reply. Seeing how it passes a size and a clipping region reassures me that I'm on the right track.

  6. #6
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787


    Quote Originally Posted by millec View Post
    Yeah, I'm updating my software now to run either as a normal window or in it's custom fullscreen window mode if it is running stand-alone. Hopefully that will do the trick.

    Thanks again for the reply. Seeing how it passes a size and a clipping region reassures me that I'm on the right track.
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  7. #7
    FLAC ShawJohn's Avatar
    Join Date
    Aug 2004
    Location
    On the edge!
    Posts
    1,790
    care to tell us more about your nav software?

  8. #8
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Quote Originally Posted by ShawJohn View Post
    care to tell us more about your nav software?
    Sure...
    http://www.overlandnavigator.com

    Mods, if this is a violation of the terms of use, please delete the post. My intention isn't to spam anyone.

  9. #9
    FLAC ShawJohn's Avatar
    Join Date
    Aug 2004
    Location
    On the edge!
    Posts
    1,790
    Nice! Are those OS Landranger maps, kind of like OZi Explorer & Memory Map Navigator?

    How do you stop it trying to route people down footpaths and bridalways, some UK satnavs units are a ****er for that. The GF's TomTom700 sent me down an unamed road which rapidly turned into a dirt & cobble bridalway in my lowered Nissan 200sx. This 'road' was tight and after dark had no street lighting, became very narrow and bumpy and impossible for me to turn round, and too dark to reverse... So I had to take a chance and carry on, nearly wrecking my car in the process, and another time when it wanted to take me through the private roads on a farm as it was a short cut, the farmer wasn't amused though

    Maybe one day, the maps will have road restrictions like weight, width and height restrictions, low bridges etc to make routing safer and more reliable for folk in unusual vehicles.

    I beleive TomTom are working on TomTom Commercial, a kind of Truckers version of a TomTom. Not sure how far off that is though.

  10. #10
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    millec ... I think your issue is that your program runs in a borderless window with no title bar. RR geerally uses the title bar text to embed the app into RR, and as your program does not have one it won't embed properly.

    You can however use the window class name from you app - the calss name can be found using WinSpectorSpy freeware ... There are many threads here referring to embedding apps using the window classname.

    One other thing you might want to look at is the fact that your app is set to autocenter and always remain on-top .. these two prperties MAY interfere with the correct functioning of RR ... thus preventing you from using RR while your app is running ...

    Valheru ...

Page 1 of 2 12 LastLast

Similar Threads

  1. Voice nav on xenarc 700idt?
    By hotponyshoes in forum General Hardware Discussion
    Replies: 0
    Last Post: 11-08-2005, 03:03 AM
  2. Replies: 4
    Last Post: 11-06-2005, 12:50 AM
  3. Best nav software for use in the UK?
    By l9nux in forum GPS
    Replies: 6
    Last Post: 09-10-2004, 10:27 AM
  4. ??? 3d GPS nav software for the US ???
    By AVmobile in forum Software & Software Development
    Replies: 6
    Last Post: 01-06-2004, 12:32 PM
  5. My numpad controlled custom MP3Car software - need your opinions
    By PorscheMP3 in forum Software & Software Development
    Replies: 7
    Last Post: 04-11-2002, 11:30 AM

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
  •