mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-20 06:31:39 +00:00
Updated swervelib documentation and merged @7910f6ba7ee4 PR
This commit is contained in:
@@ -20,6 +20,9 @@ import swervelib.parser.json.SwerveDriveJson;
|
||||
public class SwerveParser
|
||||
{
|
||||
|
||||
/**
|
||||
* Module number mapped to the JSON name.
|
||||
*/
|
||||
private static final HashMap<String, Integer> moduleConfigs = new HashMap<>();
|
||||
/**
|
||||
* Parsed swervedrive.json
|
||||
@@ -47,6 +50,7 @@ public class SwerveParser
|
||||
* Construct a swerve parser. Will throw an error if there is a missing file.
|
||||
*
|
||||
* @param directory Directory with swerve configurations.
|
||||
* @throws IOException if a file doesn't exist.
|
||||
*/
|
||||
public SwerveParser(File directory) throws IOException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user