swervedrive.json
The Swerve Drive JSON configuration file configures everything related to the overall Swerve Drive. It maps 1:1 to SwerveDriveJson.javaarrow-up-right which creates a SwerveDriveConfigurationarrow-up-right that is used to create the SwerveDrivearrow-up-right object.
SwerveDriveJson.java
SwerveDriveConfiguration
SwerveDrive
imu
Device
Y
Robot IMU used to determine heading of the robot.
invertedIMU
Boolean
Inversion state of the IMU.
modules
String array
Module JSONs in order clockwise order starting from front left.
Last updated 2 years ago