I have been using the Lat/Long calculation for some tests like takeoff run distance and it works fine but for endurance I need the distance for a much longer run and I don’t think the same method will be as accurate as required. I have seen someone mention using ground speed and multiplying by the interval of each cycle of the recordtocsv programme but I’m not sure where to find the interval? Is it a preset length of time for each cycle or does it vary and if it does vary is there any way of setting the interval as a variable in the lua script to use it in an equation? Thank you Pete you have been very helpful.
Hello, I am using a modified version of your Lua script "RecordtoCSV" to create a short flight data recording for various phases of flight as part of a college project. I have extended it to include the recording of more flight parameters through offsets but I am having difficulty finding one for distance traveled over ground (I'm sing MFSX Steam Edition) There is one offset for GPSDistance but I'm not sure if this is what I am looking for. I want to record the ground track distance and using Lua sum it to give a total at the end of the CSV recording. Could you help please? Tank you