YAGSL-Example
YAGSL-Example copied to clipboard
Yet Another General Swerve Library Example Project
First time working around the codebase, I went this route because I don't think you can really have a reference to a talon's sensor like you can with revlib. Not...
Record movement with datalog. Avoid it if storage is getting too low.
Change networktables to `swerve/modules/{modulename}/`
Addresses #191
I'm trying to tune my PIDs for the example project. I've gotten the robot to drive around and almost everything seems to work, except... it shouldn't be driving at all....
And it gets worse the closer you get to 45/135/225/315 degrees Problem: What happens is that the joystick inputs get cubed. This allows you to reach maximum velocity when going...
`SwerveController` adds unnecessary complexity to YAGSL and is no longer required. It should be replaced with a function which controls the robot heading via a `ProfiledPIDController`.
TODO: - [x] add docs - [ ] maybe explain in code as well
Show how to use PP NamedCommands
The Unit conversions cause wide variances between the PIDs currently and in an effort to make them more uniform they should be included in the motor controller classes directly rather...