-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FilterReview: features to be implemented #10
Comments
ESC Telem with "MultiSource" deselected doesn't respect the scale value of the _REF field. I am working on a PR to fix that. Additionally, I'd like to have the _REF field used as a scale for multisource as well, but that is not supported in AP firmware yet (and I'll probably make a PR for that too) |
Not sure I understand your response, to be clear Edit: I do intend to get some experimental data, but this particular craft's flight windows are hard to come by, so I was hoping to get some insight from the tool ahead of time. Edit 2: In my fork, I added the ref scaling parameter to the identically shaped code in the trackers/EKF.js, That resulted in the notch filter centers shifting visually in the logging overlay, but not being used in the transfer functions. When I added the scaling to the smaller get_target function, then I get scaling also with MultiSource, which I don't think is the way AP currently works and would be an incorrect feature at the moment |
Hum, that is quite odd. As you say, it looks like were doing it wrong. I guess most everyone uses per-ESC if they have the feedback (that is what I would suggest you do too). |
I have counter-rotating motors, so I have my first noise peak is at 1/2 the motor RPM and hence need to scale the targeted frequencies down by 1/2 of the reported RPM. The AP doesn't support scaling on per-ESC tracking (which frankly looks like a simple oversight, I'm sure my prop style is uncommon), but it does support scaling on avg-ESC and RPM tracking. In the short term, I we'll see how far we get with avg-ESC with scaling, but I plan on submitting a PR to add scaling on per-ESC as well. |
I don't understand how it would be half? |
I have a motor that has a pair of props on the top, and a pair on the bottom. They rotate in opposite directions, and there seems to be a noise source at 1/2 the motor RPM. The upper and lower blades pass each other at 1/2 motor revolution |
Right, but half a revolution would be twice the frequency. Double check your motor poles is set correctly. It could be the ESC RPM is reporting double and your really seeing the fundamental. |
Nope I'm dumb, it would be twice the frequency, good catch. Edit: Yes, we have a known issue with our ESC config, I missed a memo |
Somewhere to note down all the features that we would like:
Zero pad FFT data to allow running on batch sizes that are not a power of 2. (also do some reading to check that this is mathematically valid).Some reading suggests that zero padding might be a bad ideaOr make the batch length selection box move in powers of 2.(Done this bit) Make windows per batch option take steps such that the window size is a power of 2.The text was updated successfully, but these errors were encountered: