Conversation
Reviewer's Guide by SourceryThis pull request introduces a motor resonance filter feature to Shake&Tune, allowing users to apply and remove motor resonance filters. It also includes refactoring for better configuration initialization and command registration, and updates the documentation to reflect the new configuration options. File-Level Changes
Tips
|
There was a problem hiding this comment.
Hey @Frix-x - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 9 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟡 Documentation: 2 issues found
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
|
@sourcery-ai review |
There was a problem hiding this comment.
Hey @Frix-x - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 8 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟡 Documentation: 3 issues found
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
| # In DangerKlipper, the pulse train is large enough to allow the | ||
| # convolution of any shapers in order to craft the new combined shapers | ||
| # so we can use the MZV shaper (that looks to be the best for this purpose) | ||
| df = math.sqrt(1.0 - self.damping_x**2) |
There was a problem hiding this comment.
You only use damping_x here for both x and y (while technically they should be the same it doesnt make sense to have them seperate and then just ignore the value for y)
Same thing for the freuqncy
There was a problem hiding this comment.
You are right, it's a mistake from my side, but it's due to the fact that currently I only compute an averaged set of values that are the same for both motors.
So I also need to decompose the frequency calculation to provide it for each motor instead of providing it like it's done for now
4b783f8 to
d99b787
Compare
WIP
Summary by Sourcery
This pull request introduces a motor resonance filter feature to Shake&Tune, allowing users to apply and remove motor resonance filters for X and Y axes. It also includes refactoring of the ShakeTune class for better configuration and command handling, enhancements to motor frequency profile computation, and updates to the documentation to reflect the new configuration options.