Skip to content

Yet Another General Swerve Library

License

Notifications You must be signed in to change notification settings

FIRSTTeam102/YAGSL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Generic Swerve Library

  • In early 2023 swerve-lib created by SwerveDriveSpecialties officially became unmaintained after not being updated in 2022.
  • This library aims to simplify Swerve Drive implementations while not sacrificing speed or processing power.
  • The swerve drive is configurable via JSON files, and you can initialize the entire swerve drive with a similar line as the following.
  • Simulation support.
import edu.wpi.first.math.util.Units;

SwerveDrive swerveDrive=new SwerveParser(new File(Filesystem.getDeployDirectory(),"swerve")).createSwerveDrive(Units.feetToMeters(14.5));

Discussions

  • Latest resources and features will be posted on the discusions page here.

Library Information

Installation

  • Install NavX Library
  • Install Phoenix Library
  • Install REVLib.
  • Install ReduxLib.
  • Install YAGSL (https://broncbotz3481.github.io/YAGSL-Lib/yagsl/yagsl.json)

Check out the Wiki

Java docs is here.

Images

Field Shuffleboard Simulation

Falcon Video

swerve_falcons_fix.mov

Neo Video

swerve_neos.mp4

Special Thanks to Team 7900! Trial N' Error

Without the debugging and aid of Team 7900 the project could never be as stable or active as it is.

Special Thanks to Team 6238! Popcorn Penguins!

Without their hardwork debugging the issue with feedforwards the 2024 release would not have been possible. Thank you!

Support our developers!

Buy Me a Robot at ko-fi.com

About

Yet Another General Swerve Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%