GPS logger

Forum for the discussion of Device Link

GPS logger

Postby Dozer_EAF19 on Wed Jan 10, 2007 11:11 pm

Hi folks, I'm quite new to Devicelink. It looks quite exciting - I've just connected a second monitor to my PC and am thinking "Well, how can this be useful in FB?". Plus, I'm an aerospace/mechanical engineering student who'd like to work in the simulator construction business after graduating, and this kind of stuff might be helpful for that!

I know a little bit of C++, and I'd like to improve my abilities with it. I wanted to write a program which would act like a GPS logger, recording a track of your location which can be overlaid on a map. From all I can see, though, Devicelink doesn't give positional information like that at the moment. Is there any way to extend Devicelink to provide some equivalent to lat/lon coordinates, or should I go away and think of something else to do instead?

Thanks for providing this!
Dozer_EAF19 (trainee)

Known elsewhere in the known universe as "PhilipsCDRW".
Dozer_EAF19
Air Cadet Level 1
 
Posts: 2
Joined: Wed Jan 10, 2007 10:55 pm

Postby IV/JG1_Oesau on Thu Jan 11, 2007 1:59 am

Do mean to log where you are on the map, or all aircraft?

There is a lot of information that is kept about aircraft position and there was a application that was used by some a couple of years ago that provided information on all a/c positions.

Now I say some had it, becauase it was basically a cheat and once it was found to be used there were a lot of unhappy people.
Image
IV/JG1_Oesau
Squadron Leader
 
Posts: 386
Joined: Tue Dec 07, 2004 11:53 pm
Location: Sydney, Australia

Postby Dozer_EAF19 on Thu Jan 11, 2007 1:15 pm

Oh, I only meant for the player's aircraft.

Il-2 lacks the capacity to show you exactly where you flew after your flight, as a line on a map. That's all I wanted to do - log the position, alt, and perhaps where you are firing your weapons, so they can be displayed on a map (or with a real-world GPS-logger track viewer) after the flight.

But if there is the capacity to log the position of EVERY flying aircraft, that gives the possibility to make some sort of rudimentary radar simulator, which could be used by squads in co-op missions...
Dozer_EAF19 (trainee)

Known elsewhere in the known universe as "PhilipsCDRW".
Dozer_EAF19
Air Cadet Level 1
 
Posts: 2
Joined: Wed Jan 10, 2007 10:55 pm

Postby MaXMhZ on Thu Jan 11, 2007 7:01 pm

I have seen UDPSpeed using Devicelink plotting a flown mission some years back on SimHQ forums. Devicelink does not woek online, and so is of no use here.

AFAIK the abovementioned "Radar" utility read out the game's log file to plot aircraft positions on a map. In that respect it was of not much use as it did not contain real-time data but only things like "Player took seat in... fired guns... shot down... etc. An aircraft just flying happyly along was invisable as-such :D
Image

Waste no more time arguing what a good man should be. Be one.-Marcus Aurelius
NWS Online Shop
User avatar
MaXMhZ
Site Admin
 
Posts: 1188
Joined: Fri Dec 10, 2004 11:23 am
Location: NL

...

Postby WWSensei on Fri Jan 12, 2007 4:31 am

"An aircraft just flying happyly along was invisable as-such"

Unless they did something like turn on smoke or if in bomber changed gunner position. However, that exploit had nothing to do with Devicelink. Devicelink only knows about the primary aircraft.

The MLR program could "trace" a flight but it did so by running an rcu file script that would rapidly toggle smoke on and off every ten seconds or so to help plot your flight.
WWSensei
Flight Sergeant
 
Posts: 88
Joined: Sun Dec 12, 2004 2:53 pm

Postby MaXMhZ on Fri Jan 12, 2007 4:42 am

Quite correct Sensei. I don't know how exactly but UDPSpeed or UDPGraph did at one point use devicelink to accomplish a trace of where the plane had gone. I assume they calculated the track using plane speed and heading together with ascend/descend indications.
There was a post on SimHQ some years back, but they're in the process of updating the forums and are down so I can't search there.

In principle it should be possible to make a GPS tracker on some maps. You'd need to transform the map coordinates to r/l GPS coordinates which in principle could be done for some maps (any deviation in the map would be very visible though - I'm not too shure how accurate the maps are, although they have a very high coordinate resolution (1cm I believe)
Image

Waste no more time arguing what a good man should be. Be one.-Marcus Aurelius
NWS Online Shop
User avatar
MaXMhZ
Site Admin
 
Posts: 1188
Joined: Fri Dec 10, 2004 11:23 am
Location: NL

...

Postby WWSensei on Sat Jan 13, 2007 1:28 pm

Within devicelink itself there just isn't anything stating your current position or where you are on the map. Actually, tyou don't even know what map. What you can do is record the stuff you mentioned and plot a general flight path, but you'd have to overlay that on top of a map and match up the starting point to where you know the mission started. UDPgraph does display a flight path graph showing how the aircraft bored through the air, but you didn't have anything telling what air that was.

You'd have to combine a program parsing the log file that does track several coordinates and the "black box recording" from Devicelink to do a true flight path recorded. Certianly doable.
WWSensei
Flight Sergeant
 
Posts: 88
Joined: Sun Dec 12, 2004 2:53 pm

Postby MaXMhZ on Sat Jan 13, 2007 2:59 pm

I must confess I have been playing around with the idea. It could grow into something even more usable than nettrack recordings if people would be able to record and share their data after a mission, projecting this on a 3D representation of the map in question
It would be usefull for analysing what happened in a dogfight, or an airrace-type game. 3D data could be compiled for each map by placing objects that "fall" to level ground (tanks e.g.) on it in a grid pattern, and gathering the altitude data from the mission file. Overlaying this 3D grid with the map as texture should give quite a good representation of the actual landscape :) It would be quite a big project though to make it. Still it's a fascinating idea. This way you could incorporate the fantasy maps too that don't have real GPS equivalent data. I know Sailors of the Sky, a soaring simulator, has the possibility to export GPS data from in-game to a connected PDA and plot the flight on the PDA's map software.
Image

Waste no more time arguing what a good man should be. Be one.-Marcus Aurelius
NWS Online Shop
User avatar
MaXMhZ
Site Admin
 
Posts: 1188
Joined: Fri Dec 10, 2004 11:23 am
Location: NL


Return to Device Link

Who is online

Users browsing this forum: No registered users and 2 guests

cron