-
Notifications
You must be signed in to change notification settings - Fork 166
Random Gain #111
Copy link
Copy link
Open
Description
In Mecanum.java there is a hardcoded doubling of the pathing vectors after all normalization and clamping logic has been performed. This is doubling what the PIDs say to correct for, and it causes a lot of clamping. This should either be in Constants as a gain value (and part of the tuning process) or should be removed.
- It reduces the linear control range of the PID (e.g., a calculated power of 0.6 becomes 1.2 and clips to 1.0 immediately).
- This makes small corrections unnecessarily jerky.
// Mecanum.java
truePathingVectors[0] = truePathingVectors[0].times(2.0);
truePathingVectors[1] = truePathingVectors[1].times(2.0);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels