roccobarbi / il2missionplanner.link

MIT License
3 stars 1 forks source link

Add feature-Display wind-corrected apparent heading and true time of flight for each flight leg #10

Open ATAG-Skud opened 3 years ago

ATAG-Skud commented 3 years ago

What I want To be able to see not only actual heading from waypoint to waypoint but see wind corrected apparent heading to each leg Why is this good It helps to navigate in low visibility conditions without having to consult another app or a flight computer. Currently it is impossible to navigate using the compass only in moderate or high wind low-vis source_code.pdf environments. I have attached the source code that was made available by FlyingFan from the IL2 utility called IL2 wind compensator. This code has the essential wind compensation formulas as well as other features such as ground speed which would be nice to use also to adjust time of flight to compensate for wind. The program istelf is available in the IL2 forum here https://forum.il2sturmovik.com/topic/36125-wind-compensation-calculator-v-14/

roccobarbi commented 3 years ago

@ATAG-Skud I know this is a pain in the back, but could you attach the code as plaintext, please? Sharing code on a pdf file can lead to difficult-to-see errors and to a complex debugging experience, if someone picks this up and tries to copy-paste some of it as a starting point.

ATAG-Skud commented 3 years ago

Hi Roccobarbi It is all I have. I downloaded it off the forum just as Flyingfan had posted it. I think you can just use the formulas. But since they are in MathCad you may have to adapt the functions to the language you are using. Sorry my programming ability has dwindled a lot since I ran FORTRAN IV forty years ago 😜

Sent from my iPhone

On Aug 31, 2021, at 10:05 PM, Rocco Barbini @.***> wrote:

 @ATAG-Skud I know this is a pain in the back, but could you attach the code as plaintext, please? Sharing code on a pdf file can lead to difficult-to-see errors and to a complex debugging experience, if someone picks this up and tries to copy-paste some of it as a starting point.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

roccobarbi commented 3 years ago

Ok. For future reference, I think this could be added as an add-on calculator, so that you can enter the necessary input values and get the corrected heading. I would not add it to the map proper, since wind is probably dependent on the single mission, and it could end up causing errors if someone forgets about it.

ATAG-Skud commented 3 years ago

I was thinking that when a user maps his flight in the current mission planner you could add a wind speed and direction to the pop up box where you input airspeed now. Then display corrected heading and flight time on the opposite side of the arrow.

Sent from my iPhone

On Aug 31, 2021, at 10:58 PM, Rocco Barbini @.***> wrote:

 Ok. For future reference, I think this could be added as an add-on calculator, so that you can enter the necessary input values and get the corrected heading. I would not add it to the map proper, since wind is probably dependent on the single mission, and it could end up causing errors if someone forgets about it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

ATAG-Skud commented 3 years ago

Here is the formatted version of the source code for the wind compensator. I left in in Word open IL2 WINDCOMPENSATOR.odt