From 9f8c3f6b49a2d754dbed9c9a30d09906f90cb0b1 Mon Sep 17 00:00:00 2001 From: thenetworkgrinch Date: Mon, 13 Feb 2023 14:38:00 -0600 Subject: [PATCH] Updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ddf926..ea75953 100644 --- a/README.md +++ b/README.md @@ -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