Changelog
Last updated
Was this helpful?
Last updated
Was this helpful?
I highly encourage anyone who wants to help make YAGSL better to create pull requests with any modifications you have made that increases your quality of life.
YAGSL development is done on the dev
branch of the YAGSL-Example repository here at src/main/java/swervelib
.
All PR's should be based off of and merged into here. YAGSL is propagated often to the other repositories.
Fix attached absolute encoders with brushed SparkMAX's
Patched crash when starting while enabled.
Fixed SwerveInputStream.allianceRelativeControl
Prevent crashing midmatch if robot code restarts.
Added SwerveInputStream.translationHeadingOffset
Removed gyro zeroing from YAGSL startup. You must now call gyro zero on autonomousInit
or use the RobotModeTriggers
Added RobotModeTriggers.autonomous().onTrue(Commands.runOnce(this::zeroGyroWithAlliance));
to the example code.
fix setAbsoluteEncoderOffset() by in
Enable Continuous Input for omegaPIDController by in
Updated references from Shuffleboard to any dashboard by
Add optional optimization of module states in drive function that uses feedforward by in
Make all closable items implement AutoClosable
by in
remove useless imports and variables by in
Set IZone of PIDControllers created from PIDFConfigs by in
Fix typo by in
Rev Through bore via DIO by in
stop setMotorBrake from constantly executing by in
Prevent rotation if controller heading inputs are not past axisDeadband by in
Null pointer crash when there have been no vision results by in
Adding PigeonViaTalonSRX and attached SparkFlex by in
Throw an error when module configs are incorrectly set to 0 by in
Fixed rawAbsoluteEncoder position. by in
Fix getMaxVelocity used in feedforward by in
Maximum speed settings do not allow limiting robot to less than full speed by in
Sim modules SysId routines & New maple-sim version by in
Touched up comments by in
Fix loop time and use field oriented control for driveWithSetpointGenerator (PR by @)
Updated to Maple-Sim 0.2.4; added SwerveDrive.getMapleSimDrive()
by in
AHRS imu variable is lost after constructor scope ends by in
Add Maple-Sim by in
Implement support for kA by in
Update to WPILIb 2025 Beta-2 by in
Add support to Talon SRX for an integrated absolute encoder by in
Implemented Path Planner DriveFeedForward using DCMotor modeling by in
Add Warmup for Pathfinding (PR by )
A tiny bug fix in the aim-at-speaker command of the example swerve subsystem code by (PR by )
Merge Swerve configuration test changes (PR by )
Angular velocity correction (huge update that massively improves YAGSL!) (PR by )
Sparkmax optimizations, changes to avg filter etc (PR by )
Suggestion for desaturateWheelSpeeds() to use desiredChassisSpeeds (PR by )
Added getAprilTagPose
method to Vision
(PR by )
Update the vision simulation on Vision.updatePoseEstimation
(PR by )
Add Standard Deviations for YAGSL SwerveDrive Pose Estimator (PR by )
Updating Vendordeps and renaming CanandCoders to CanandMags (PR by and YAGSL devs)
Fixed documentation issue with SwerveDriveTelemetry
(Issue by )
Fixed CanandCoder
to CanandMag
due to product rename. (Credit to )
Add ability to get the rotation rate from the IMU (PR by )
Simplify placeInAppropriate0To360Scope (PR by )
Increased logging verbosity to introduce logging modes for the field and data. (PR by )
Added SwerveDrive.setChassisDiscretization
to allow for changing of the discrete value between cycle times which can be tuned to reduce drift. (PR by )
Renamed SwerveDrive.pushOffsetsToControllers
to SwerveDrive.pushOffsetsToEncoders
. (PR by )
Massively reduced memory footprint required. (with help from )
Added SysId support. (PR and by )
Updated heading correction to use getOdometryHeading()
instead of getYaw()
(PR by ) This does impact heading correction PID values in controllerproperties.json
and may NEED these value's increased by 50x.
Added ability to disable the cosine compensator via config files. (PR by )
Set the angle motor relative encoder position AFTER changing the conversion factor. (Issue )
Fixed module open loop control by sending maxSpeed
to the module. (by @nstrike and )
Fixed Pigeon2Swerve only using X acceleration (PR by )
Prevent drive motors from moving when absoluteEncoderOffset
is not tuned. (Found by )
Fixed SwerveDrive.resetOdometry
and utilize the pose estimation instead. (PR by and @nstrike )
Functionalize IMU inversion (PR by and @nstrike)
Fix for TalonFX Angle motor control (by , and @Wackyvert 2225 Mentor) .
Changed ma3
encoders to be read via analog input. (Discovered by )
Support 3 wheel swerve module setups with PathPlanner helper function. (PR #139 by )
Added Network Alerts (made by PR )
Fixed TalonFX conversion factor (made by PR )
CanAndCoder tweaks (made by PR )
Added missing SparkMAX status frame's (made by PR )
Heading Correction update to make it less sensitive (made by PR )
Fixed cosine compensator error (made by PR )
Updated PathPlanner path based off of alliance (made by PR )
Fixed Rotation being off, update getDriveBaseMeters (made by )