Skip to content

Change argument order for atan2 call in atmosphere.rs#296

Open
mobot-gh wants to merge 4 commits into
DCS-gRPC:mainfrom
mobot-gh:getWindFix
Open

Change argument order for atan2 call in atmosphere.rs#296
mobot-gh wants to merge 4 commits into
DCS-gRPC:mainfrom
mobot-gh:getWindFix

Conversation

@mobot-gh
Copy link
Copy Markdown
Contributor

@mobot-gh mobot-gh commented May 4, 2026

The output from the getWind rpc wasn't matching static wind set in missions. By reversing the argument order in the atan2 method in the get_wind_heading_and_strength function in atmosphere.rs, the correct output is achieved.

Copy link
Copy Markdown
Collaborator

@YoloWingPixie YoloWingPixie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

  • Don't forget to update CHANGELOG unreleased section

@mobot-gh mobot-gh marked this pull request as ready for review May 18, 2026 13:38
Copy link
Copy Markdown
Collaborator

@YoloWingPixie YoloWingPixie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants