2023-12-20 09:52:56 -06:00
2023-02-13 14:37:05 -06:00
2023-12-10 22:01:58 -05:00
2023-12-20 09:52:56 -06:00
2023-02-16 22:34:01 -06:00
2023-01-29 21:03:26 -06:00
2023-03-06 22:48:37 -06:00
2023-12-15 09:40:52 -06:00

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.

Features

  • 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 YAGSL (https://broncbotz3481.github.io/YAGSL-Lib/yagsl/yagsl.json)

Easy Configuration File Generation

Check out the Wiki

Java docs is here.

Images

Field Shuffleboard Simulation

Falcon Video

https://user-images.githubusercontent.com/10247070/219801595-b9705a0a-74f1-41c8-b4d9-023ccf9ddbf8.mov

Neo Video

https://user-images.githubusercontent.com/10247070/219801620-c2850078-9b58-4f32-95b4-0f8f6fba23d4.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.

Support our developers!

Buy Me a Robot at ko-fi.com

Description
Yet Another Generic Swerve Library - FRC Swerve Drive
Readme 4.9 MiB
Languages
Java 100%