Skip to content

jerk limited slew rate limiter has strange behavior #1

@angebrajuka

Description

@angebrajuka

basically the title. Seems to not effectively limit jerk when changing target value:

Image

used the following limiter:
OPRSlewRateLimiter test_limiter{ 1, 0.1 };

And plotted in teleop with:

double output = test_limiter.Calculate( _GamePads->Driver->GetButton(OPRXbox::A) ? 1 : 0 );
frc::SmartDashboard::PutNumber( "slew_test", output );

... no shade here, just thought the jerk limiting was a cool feature for a slew rate limiter and ran it in sim to see how it would work... thought you might wanna see what I saw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions