basically the title. Seems to not effectively limit jerk when changing target value:
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
basically the title. Seems to not effectively limit jerk when changing target value:
used the following limiter:
OPRSlewRateLimiter test_limiter{ 1, 0.1 };And plotted in teleop with:
... 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