TruaxField Posted April 14, 2021 Posted April 14, 2021 Hello All, The latitude and longitude that I am reading from the CommonData in DCS BIOS for the F-16 appears to be incorrect. I am creating a map interface and have it competed; however, I cannot get good position data. My program is reading the same values that are displayed in the Control Reference but it does not appear to be correct. The position data I am using is degrees and fractional degrees. Has anyone used that data in any aircraft? Am I not understanding how to use it? Any help would be greatly appreciated.
TruaxField Posted April 22, 2021 Author Posted April 22, 2021 Well it appears that my post is getting no attention. Not sure if I posted it in the correct location or what. But anyway, in the future if someone sees this, the issue was the CommonData.json included with DCS BIOS and used in my Control Reference was incorrect. I found a different version of it located in the DCSFlightpanels/dcs-bios github page. that was correct. The following is part of the JSON file with the correct position information. There were multiple errors in the original JSON file, I pointed out two of them below. "Position": { "LAT_DEG": { "category": "Position", "control_type": "metadata", "description": "Latitude Degrees", "identifier": "LAT_DEG", "inputs": [ ], "outputs": [ { "address": 1054, "description": "Latitude Degrees", "mask": 32512, "max_value": 90, "shift_by": 8, "suffix": "", "type": "integer" } ] }, "LAT_SEC": { "category": "Position", "control_type": "metadata", "description": "Latitude Seconds", "identifier": "LAT_SEC", "inputs": [ ], "outputs": [ { "address": 1056, "description": "Latitude Seconds", "mask": 63, "max_value": 59, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "LAT_SEC_FRAC": { "category": "Position", "control_type": "metadata", "description": "Latitude Fractional Seconds (divide by 65535)", "identifier": "LAT_SEC_FRAC", "inputs": [ ], "outputs": [ { "address": 1058, "description": "Latitude Fractional Seconds (divide by 65535)", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "LAT_Z_DIR": { <---------- Notice: this information was not even in the other JSON file "category": "Position", "control_type": "display", "description": "Latitude Direction", "identifier": "LAT_Z_DIR", "inputs": [ ], "outputs": [ { "address": 1054, "description": "Latitude Direction", "max_length": 1, "suffix": "", "type": "string" } ] }, "LON_DEG": { "category": "Position", "control_type": "metadata", "description": "Longitude Degrees", "identifier": "LON_DEG", "inputs": [ ], "outputs": [ { "address": 1056, "description": "Longitude Degrees", "mask": 16320, "max_value": 180, "shift_by": 6, "suffix": "", "type": "integer" } ] }, "LON_SEC": { "category": "Position", "control_type": "metadata", "description": "Longitude Seconds", "identifier": "LON_SEC", "inputs": [ ], "outputs": [ { "address": 1072, "description": "Longitude Seconds", "mask": 16128, "max_value": 59, "shift_by": 8, "suffix": "", "type": "integer" } ] }, "LON_SEC_FRAC": { "category": "Position", "control_type": "metadata", "description": "Longitude Fractional Seconds (divide by 65535)", "identifier": "LON_SEC_FRAC", "inputs": [ ], "outputs": [ { "address": 1074, "description": "Longitude Fractional Seconds (divide by 65535)", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "LON_Z_DIR": { <---------- Notice: this information was not even in the other JSON file "category": "Position", "control_type": "display", "description": "Longitude Direction", "identifier": "LON_Z_DIR", "inputs": [ ], "outputs": [ { "address": 1072, "description": "Longitude Direction", "max_length": 1, "suffix": "", "type": "string" } ] } },
BlackLibrary Posted April 22, 2021 Posted April 22, 2021 (edited) hi as i understand it correct: HUB BIOS makes problems and Flightpanels work? Edit: I updatet HUB. some new readouts (mission time; time in Pit) are there aswell. May test and pls give feedback Edited April 22, 2021 by BlackLibrary aka WarLord DCSFlightpanels DCS-BIOS Fork DCSFlightpanels arduino-library DCSFlightpanels DCSFlightpanels-Profiles DCS FP / BIOS Discord Server
Recommended Posts