nadimaj Posted July 8, 2011 Report Posted July 8, 2011 A request for Pete, Would you be able to redevelop GPSOut so that a chosen GPS sentence is output to a raw text file instead of a comms port. If it's too much bother to output all, how about just $GPRMC. I'd gladly do it if you could spare me the code ;) Thanks
Pete Dowson Posted July 8, 2011 Report Posted July 8, 2011 Would you be able to redevelop GPSOut so that a chosen GPS sentence is output to a raw text file instead of a comms port. If it's too much bother to output all, how about just $GPRMC. What would be the purpose of such a thing? I'd gladly do it if you could spare me the code It would be far easier to implement it as a simple Lua plug-in. It would only need to be a few lines in Lua, reading the relevant offsets, formatting the line and writing to a file, based on a 1 second timer event. I always tend towards solving simple requests in simple ways, and the Lua plug-ins facility was exactly intended for such purposes. Regards Pete
nadimaj Posted July 9, 2011 Author Report Posted July 9, 2011 What would be the purpose of such a thing? It would be far easier to implement it as a simple Lua plug-in. It would only need to be a few lines in Lua, reading the relevant offsets, formatting the line and writing to a file, based on a 1 second timer event. I always tend towards solving simple requests in simple ways, and the Lua plug-ins facility was exactly intended for such purposes. Regards Pete Thanks Pete, I'll try with LUA. I'm helping a colelge student with a project (he needs to see how accurately people can fly in FS using VFR!)
Pete Dowson Posted July 9, 2011 Report Posted July 9, 2011 Thanks Pete, I'll try with LUA. I'm helping a colelge student with a project (he needs to see how accurately people can fly in FS using VFR!) To get you started, check out the example Lua plug-in called "record to csv". That isn't making GPS type records, but a comma-separated-values file containing lots of relevant information. That format is readable directly into Excel or other spreadsheets for easy analysis. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now