mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Update 2024.6.1.0
This commit is contained in:
@@ -20,6 +20,7 @@ import swervelib.imu.ADIS16448Swerve;
|
||||
import swervelib.imu.ADIS16470Swerve;
|
||||
import swervelib.imu.ADXRS450Swerve;
|
||||
import swervelib.imu.AnalogGyroSwerve;
|
||||
import swervelib.imu.CanandgyroSwerve;
|
||||
import swervelib.imu.NavXSwerve;
|
||||
import swervelib.imu.Pigeon2Swerve;
|
||||
import swervelib.imu.PigeonSwerve;
|
||||
@@ -117,6 +118,8 @@ public class DeviceJson
|
||||
return new ADXRS450Swerve();
|
||||
case "analog":
|
||||
return new AnalogGyroSwerve(id);
|
||||
case "canandgyro":
|
||||
return new CanandgyroSwerve(id);
|
||||
case "navx":
|
||||
case "navx_spi":
|
||||
return new NavXSwerve(SPI.Port.kMXP);
|
||||
|
||||
Reference in New Issue
Block a user