YAGSL-Example
YAGSL-Example copied to clipboard
Yet Another General Swerve Library Example Project
The first commit just updates a few vendordeps, nothing too important. The second commit updates references to the ReduxLib API as CanandCoders have been renamed to CanandMags. It also updates...
When calculating the maxAngularVelocity of the robot a Rotation2d is used. A rotation2d uses a unit circle, which will does not accurately represent the size of the robot.  ...
I was looking over the calculations in SwerveMath.calcMaxAccel(), and I think there might be a problem in the logic. When you check the reference wheel based on the angle, not...
I am running swerve with Falcon 500 drive and steer and CANCoders. During teleop on every 6th periodic call SwerveDrive attempts to re-synchronize the integrated motor encoders to the CANCoders....
[Based on the comment in other Issue, moving this from YAGSL repo to here.] I am not 100% sure what is going on here, but I think I have it....
Currently you have to call `pushOffsetToEncoders` if you dont set the angle factor to `360`.
Due to algorithmic improvements the supply limits will be used for the 2025 season when the new CTRE api comes out in 2025.
Using the units library avoid adding comments like `in meters per second`, because u can automatically convert it from whatever measure it was passed as and makes it more clear...
in java this does cause any errors but its confusing to look at, please fix This issue exists in a few classes, i suppouse more than the ones i noticed,...
Currently, YAGSL publishes poses and swerve states to NetworkTables using double arrays. A key advantage of the WPILib [struct format](https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/networktables/StructPublisher.html) is that it communicates data type (pose/swerve state/etc) and units...