NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on January 08, 2020, 12:11:46 PM
-
Hi,
I need to make an NT Desktop app that shows the users own position on the map in realtime using a GPS mouse to supply position.
Anybody done that that has any info to share on how to approach this job ?
This is to be used on a ferry to broadcast a map to TV-screens in the passenger area.
tia
/Poul
-
The map part seems easy.
(big blue square with a map-icon in the middle? - but no, I jest...)
Seriously though, yeah, the map part is easy. The only unknown part as fa as I can see is actually getting the co-ordinates from the GPS device. (It's called a GPS Mouse, but as far as I can tell it's not really a mouse, just a GPS receiver.)
the GPS device will likely connect via a USB port, and I'm guessing there's then either some sort of DLL to talk to it, or perhaps you just talk to it directly over a COM port (using WinEvent). I've nver done that, but I'm guessing it's trivial to do as well.
cheers
Bruce
-
Thanks - I guess I just have to get hold in a GPS mouse and start playing with it.
/Poul
-
I'm doing this for a fleet a police vehicles.
The Clarion/NetTalk side is straight forward.
The hardware/driver side. Not always.
Hit me up if you run into any issues.
Don
-
I have created a demo app for you based on the one we use here at the PD.
It creates a queue of COM ports then checks each port for a valid NMEA GPS string.
If it finds a valid port, it starts reading the port and sets the GPS position.
App converts the NMEA coordinates to "standard" GPS coordinates that can be used in a Clarion app.
App can convert from Miles Per Hour or Meters Per Hour.
Code is a little rough around the edges but maybe it will help you.
Don
-
Thanks Don - this is much appreciated and will get me going :-)
/Poul