Skip to content

Proposal: Don't use averages to smooth out throttleΒ #13

@kscholty

Description

@kscholty

This is a suggestion.
Instead of calculating an average you could use a simple control loop like

changeValue = currentDACValue-newDACValue
if ( abs(changeValue) > maxAllowedDelta) {adjust newDACValue by +/-max delta}
currentDACValue = newtDACValue

To make sure that the values don't change too radically. This is simpler and more linear than the average method.

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