Skip to content

StreamStats: reject a window size below 0.1 s - #404

Open
j-w9 wants to merge 1 commit into
ArduPilot:mainfrom
j-w9:stream-stats-fixes
Open

j-w9 wants to merge 1 commit into
ArduPilot:mainfrom
j-w9:stream-stats-fixes

Conversation

@j-w9

@j-w9 j-w9 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

A window size of 0, empty or negative wasn't checked. Negative plotted negative rates, and 0 or empty threw Invalid array length. Now it alerts and keeps the last plot if it's below 0.1 s (the input's min).

The window size was used unchecked. An empty or zero box threw Invalid array length after the pie was already redrawn, and a negative window plotted negative rates.
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.

1 participant