51st-Vfw / DCSWaypointEditor

51st VFW fork of the DCS Waypoint Editor. Works with DCS-BIOS to allow waypoints and other setup to be injected into the jet via clickable cockpit controls.
GNU General Public License v3.0
6 stars 0 forks source link

Enter Profile into Jet F18 hornet data incorrect #11

Closed knightelessar closed 3 years ago

knightelessar commented 3 years ago
2021-07-05 14:11:37,929:src.main_gui: DEBUG - DCSWE Values: {'ux_menubar': None, 'ux_prof_select': 'Test', 'ux_prof_afrm_select': 'F/A-18C Hornet', 'ux_prof_wypt_list': ['WP1'], 'ux_poi_wypt_select': '', 'ux_wypt_name': '', 'ux_wypt_type_select': 'WP', 'ux_seq_stn_select': 'None', 'ux_lat_deg': '41', 'ux_lat_min': '38', 'ux_lat_sec': '35.1', 'ux_lon_deg': '44', 'ux_lon_min': '56', 'ux_lon_sec': '12.22', 'ux_mgrs': '38TMM9473110151', 'ux_elev_ft': '1234', 'ux_elev_m': '376', 'ux_dcs_f10_enable': False, 'ux_dcs_f10_tgt_select': 'Coordiante Panel', 'ux_callsign': 'Colt1-1'}
2021-07-05 14:11:37,929:src.main_gui: INFO - Entering profile 'Test' into jet...
2021-07-05 14:11:37,951:drivers: INFO - Entering waypoints for aircraft: hornet
2021-07-05 14:11:37,951:src.gui_util: DEBUG - Starting progress ui for backgrounded op, thread 27708
2021-07-05 14:11:41,965:src.gui_util: DEBUG - Backgrounded op progress: 25.00
2021-07-05 14:11:42,968:src.gui_util: DEBUG - Backgrounded op progress: 50.00
2021-07-05 14:11:44,759:drivers: INFO - Entering waypoint 1
2021-07-05 14:11:44,975:src.gui_util: DEBUG - Backgrounded op progress: 75.00
2021-07-05 14:11:45,662:drivers: INFO - Entering coords string: 4138.5850, 4456.2037
2021-07-05 14:11:58,015:src.gui_util: DEBUG - Backgrounded op progress: 100.00
2021-07-05 14:11:58,016:src.gui_util: DEBUG - Backgrounded op thread has passed beyond the veil

Data image

Actual in jet image

knightelessar commented 3 years ago

Entering coordinates string: 4138.5850, 4456.2037 So 0.15 short and 0.30 medium will result in 4138.8500, 4456.0370

Current workaround, use the following in dcs_wp_editor\settings.ini

dcs_btn_rel_delay_short = 0.15
dcs_btn_rel_delay_medium = 0.50
ilominar commented 3 years ago

Appears to be an issue around button delay in the Hornet driver? Root cause not clear. Might be tied to rate limiting in DCS-BIOS. B7 will tweak the timing of the coordinate entry to see if that helps.

knightelessar commented 3 years ago

0.15 short and 0.40 medium enter into hornet works fine in B7.