Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xplane landing wind #89

Merged
merged 4 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("1f9cbede-669d-4510-bca2-e6ad29d6a498")]
[assembly: AssemblyVersion("0.5.8")]
[assembly: AssemblyFileVersion("0.5.8")]
[assembly: AssemblyVersion("0.5.9")]
[assembly: AssemblyFileVersion("0.5.9")]
4 changes: 2 additions & 2 deletions OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("30c467e8-2eee-41e5-be01-0142a61ba171")]
[assembly: AssemblyVersion("0.5.8")]
[assembly: AssemblyFileVersion("0.5.8")]
[assembly: AssemblyVersion("0.5.9")]
[assembly: AssemblyFileVersion("0.5.9")]
2 changes: 1 addition & 1 deletion OpenSky.Agent.UdpXPlane11/Models/LandingAnalysisDataRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void DataRefUpdated(DataRefElement element, float value)

var windDelta = Math.Abs(this.heading - this.windDegrees);
this.WindLat = Math.Sin((Math.PI / 180) * windDelta) * this.windSpeed;
this.WindLong = Math.Cos((Math.PI / 180) * windDelta) * this.windSpeed;
this.WindLong = Math.Cos((Math.PI / 180) * windDelta) * this.windSpeed * -1;
}
}
}
4 changes: 2 additions & 2 deletions OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("dfbda2b8-5775-4766-be86-d729fcf20de1")]
[assembly: AssemblyVersion("0.5.8")]
[assembly: AssemblyFileVersion("0.5.8")]
[assembly: AssemblyVersion("0.5.9")]
[assembly: AssemblyFileVersion("0.5.9")]
4 changes: 2 additions & 2 deletions OpenSky.Agent/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: AssemblyVersion("0.5.8")]
[assembly: AssemblyFileVersion("0.5.8")]
[assembly: AssemblyVersion("0.5.9")]
[assembly: AssemblyFileVersion("0.5.9")]

// This allows us to detect debug mode in XAML
#if DEBUG
Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent/Views/Settings.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
</GroupBox>
<GroupBox Grid.Column="1">
<GroupBox.Header>
<RadioButton GroupName="SimulatorInterface" FontSize="15" FontWeight="DemiBold" VerticalAlignment="Center" IsChecked="{Binding UdpXplaneChecked}">X-Plane 11 (UDP)</RadioButton>
<RadioButton GroupName="SimulatorInterface" FontSize="15" FontWeight="DemiBold" VerticalAlignment="Center" IsChecked="{Binding UdpXplaneChecked}">X-Plane 11+ (UDP)</RadioButton>
</GroupBox.Header>
<Grid Margin="5" IsEnabled="{Binding UdpXplaneChecked}">
<Grid.ColumnDefinitions>
Expand Down
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
OpenSky Flight Tracking Agent Changelog
======================================================================================

--------------------------------------------------------------------------------------
Version 0.5.9 (ALPHA5)
--------------------------------------------------------------------------------------
- Fixed headwind/tailwind for Xplane
- Added live METAR to tracking window
- Added new simpler "Add Aircraft" window for users

--------------------------------------------------------------------------------------
Version 0.5.8 (ALPHA5)
--------------------------------------------------------------------------------------
Expand Down