Skip to content

Conversation

@McGiverGim
Copy link
Member

This PR has two objectives:

  • Continue with the refactor where we let it here: Refactor Spectrum Graph code #313
  • Use an off-screen canvas for the Spectrum Graph. Until now, the Spectrum Graph is being completely redrawn in each frame of the Blackbox. When the Spectrum Graph is visible, the rest of the Blackbox app is less smooth than when not visible (specially for larger Blackbox log file). With this change it will be smooth when visible too.

This change prepares too the Blackbox for future PR adding new graphs or other functionalities.

@McGiverGim McGiverGim added this to the 3.4.0 milestone Apr 29, 2019
mikeller
mikeller previously approved these changes Apr 29, 2019
Copy link
Member

@mikeller mikeller left a comment

Choose a reason for hiding this comment

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

Nice work!

@McGiverGim
Copy link
Member Author

Sorry @mikeller it seems that in the refactor I introduced a bug in the Hanning Window function. It is disabled by default (can be enabled in the options menu) so I didn't detect it.

I have fixed it and pushed the commit.

@mikeller mikeller merged commit e5ab0a6 into betaflight:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants