Updated readme

This commit is contained in:
thenetworkgrinch
2023-02-13 14:38:00 -06:00
parent 6a40ec018e
commit 9f8c3f6b49

View File

@@ -8,7 +8,7 @@
* 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"));
SwerveDrive swerveDrive = new SwerveParser(new File(Filesystem.getDeployDirectory(), "swerve")).createSwerveDrive();
```
# Library Information