Files
YAGSL/README.md

22 lines
1.1 KiB
Markdown
Raw Normal View History

2023-01-29 21:03:26 -06:00
# Yet Another General 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
* When a compatible absolute encoder is given it will be used as a remote encoder for the steering motor reducing CAN messages.
* Autogenerated shuffleboard dashboard for each module which can be updated periodically with the verbosity setting.
* 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.
```java
SwerveDrive swerveDrive = SwerveParser.fromJSONDirectory(new File(Filesystem.getDeployDirectory(), "swerve"));
```
2023-01-29 21:18:52 -06:00
# Library Information
* The library is located in [swervelib/](./swervelib) with documentation in [docs/](./docs) and example JSON in [swerve-deploy](./swerve-deploy).
2023-01-29 21:03:26 -06:00
# Images
2023-01-29 21:04:19 -06:00
![Field Shuffleboard](./imgaes/field.png)
![Simulation](./imgaes/simulation.png)
![Dashbaord as dials](./imgaes/dashboard_dials.png)
![Dashboard as graphs](./imgaes/dashboard_graph.png)