NikolaiVChr / f16

General Dynamics F-16 for Flightgear flight simulator
GNU General Public License v2.0
114 stars 36 forks source link

TGP: TGP does not account for radar blep refresh rate #589

Open SammySkycrafts opened 6 months ago

SammySkycrafts commented 6 months ago

The TGP does not seem to account for the update rate now modelled with the F-16 radar. For example, a contact soft locked in TWS would show the same in the TGP as if it were locked in STT. The expected behaviour of this would be similar to the HUD marker, where the "position" jumps every refresh and is not constantly tracking the object.

The TGP itself is slaved to the radar so this should not be a case of the TGP itself locking and tracking. I do not think it is possible with F-16 irl to lock an airborne target.

Here is an example video, you can see the refresh rate is approximately once every second, but the TGP continuously tracks it.

https://drive.google.com/file/d/1IucBsFeSHKjT9Ij28hfPTS5p4qdJO-XN/view?usp=sharing

NikolaiVChr commented 2 months ago

I hope it works now

NikolaiVChr commented 2 months ago

I reverted this feature, as there was some edge cases it did not account for. Maybe will make a better version at some point and remake it.