Skip to content

feat(drivetrain): add slew rate limiters to arcade drive inputs#2

Draft
IamCoder18 wants to merge 2 commits into
mainfrom
feat/drivetrain-slew-rate-limiters
Draft

feat(drivetrain): add slew rate limiters to arcade drive inputs#2
IamCoder18 wants to merge 2 commits into
mainfrom
feat/drivetrain-slew-rate-limiters

Conversation

@IamCoder18

Copy link
Copy Markdown
Member

Context

Smooth driver control by limiting the rate of change of forward and turn inputs.

Issue

Closes #1

Implementation

I've added a Slew Rate Limiter to smooth out the acceleration of the forward input (0.5) and turn input (0.3).
This has not been tested on the robot yet, and the values (0.5 and 0.3) haven't been tuned.

@IamCoder18 IamCoder18 marked this pull request as draft June 25, 2026 01:48
@IamCoder18 IamCoder18 force-pushed the feat/drivetrain-slew-rate-limiters branch from 7e3a2e9 to 2a018e5 Compare June 25, 2026 01:49
@IamCoder18

Copy link
Copy Markdown
Member Author

Draft while I fix failing build and we verify on the robot, especially since we may want to tune the values further.

@IamCoder18 IamCoder18 force-pushed the feat/drivetrain-slew-rate-limiters branch from 2a018e5 to 63f140f Compare June 25, 2026 02:04
Smooth driver control by limiting the rate of change of forward and
turn inputs via SlewRateLimiter filters (0.5 and 0.3 respectively).
@IamCoder18

Copy link
Copy Markdown
Member Author

Checks pass; ready to test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add slew rate limiters to drivetrain arcade drive

1 participant