10000 Wrong 1xRPM rotation frequency calculation · Issue #4 · hstarmans/rotorbalancer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Wrong 1xRPM rotation frequency calculation #4
Open
@ToGoOrNotToGo

Description

@ToGoOrNotToGo

Hi,
thanks for this interesting project! I found a bug when using frequency resolutions other than 1 Hz. In calc.py rotfreq_and_force the inner get_first_peak function returns the index of the first peak instead of the frequency of that index:
return peaks[0]+1, sign[peaks[0]]
should be:
return peaks[0] * df, sign[peaks[0]]

regards
Tobias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0