Skip to content

fix(simulation): revert wind sign regression from #27376#27392

Open
0xDI wants to merge 1 commit into
PX4:mainfrom
0xDI:fix/sih-revert-wind-sign-regression
Open

fix(simulation): revert wind sign regression from #27376#27392
0xDI wants to merge 1 commit into
PX4:mainfrom
0xDI:fix/sih-revert-wind-sign-regression

Conversation

@0xDI
Copy link
Copy Markdown
Contributor

@0xDI 0xDI commented May 19, 2026

Fixes regression introduced in #27376.

The sign change in _v_apparent_N was wrong. SIH_WIND_N/E use a "from"
direction convention, so the original + was correct — #27376 mistakenly
flipped it to minus, which contradicts the param description and reverses
wind effects for any non-zero wind setting.

Reverts the sign while keeping the pitot body-x fix from #27376.

Closes regression flagged by @mbjd

@github-actions github-actions Bot added kind:bug Something is broken or behaving incorrectly. scope:simulation SITL, Gazebo, jmavsim, lockstep, or simulated sensors. labels May 19, 2026
@mbjd mbjd self-requested a review May 19, 2026 08:48
Copy link
Copy Markdown
Contributor

@mbjd mbjd left a comment

Choose a reason for hiding this comment

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

Thanks!

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

Labels

kind:bug Something is broken or behaving incorrectly. scope:simulation SITL, Gazebo, jmavsim, lockstep, or simulated sensors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants