File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
JavaAutoSample/src/main/java/frc/robot
JavaSample/src/main/java/frc/robot Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010
1111import edu .wpi .first .wpilibj .SPI ;
1212
13- import edu .wpi .first .wpilibj .ADXL362 ;
1413import edu .wpi .first .wpilibj .TimedRobot ;
1514import edu .wpi .first .wpilibj .motorcontrol .Spark ;
1615import edu .wpi .first .wpilibj .smartdashboard .SendableChooser ;
2120import com .autodesk .synthesis .revrobotics .RelativeEncoder ;
2221import com .autodesk .synthesis .revrobotics .SparkAbsoluteEncoder ;
2322import com .kauailabs .navx .frc .AHRS ;
23+ import com .autodesk .synthesis .wpilibj .ADXL362 ;
2424import com .autodesk .synthesis .CANEncoder ;
2525import com .autodesk .synthesis .ctre .TalonFX ;
2626
@@ -39,7 +39,7 @@ public class Robot extends TimedRobot {
3939 private String m_autoSelected ;
4040 private final SendableChooser <String > m_chooser = new SendableChooser <>();
4141
42- private ADXL362 m_Accelerometer = new ADXL362 (SPI .Port .kMXP , ADXL362 .Range .k8G );
42+ private ADXL362 m_Accel = new ADXL362 (SPI .Port .kMXP , ADXL362 .Range .k8G );
4343 private AHRS m_Gyro = new AHRS ();
4444
4545 private CANSparkMax m_sparkLeft = new CANSparkMax (1 , MotorType .kBrushless );
Original file line number Diff line number Diff line change 1010
1111import edu .wpi .first .wpilibj .SPI ;
1212
13- import edu .wpi .first .wpilibj .ADXL362 ;
1413import edu .wpi .first .wpilibj .TimedRobot ;
1514import edu .wpi .first .wpilibj .motorcontrol .Spark ;
1615import edu .wpi .first .wpilibj .smartdashboard .SendableChooser ;
2019import com .autodesk .synthesis .revrobotics .CANSparkMax ;
2120import com .kauailabs .navx .frc .AHRS ;
2221import com .autodesk .synthesis .ctre .TalonFX ;
22+ import com .autodesk .synthesis .wpilibj .ADXL362 ;
2323
2424/**
2525 * The VM is configured to automatically run this class, and to call the
@@ -41,7 +41,7 @@ public class Robot extends TimedRobot {
4141 private TalonFX m_Talon = new TalonFX (7 );
4242 private XboxController m_Controller = new XboxController (0 );
4343
44- private ADXL362 m_Accelerometer = new ADXL362 (SPI .Port .kMXP , ADXL362 .Range .k8G );
44+ private ADXL362 m_Accel = new ADXL362 (SPI .Port .kMXP , ADXL362 .Range .k8G );
4545 private AHRS m_Gyro = new AHRS ();
4646
4747 private DigitalInput m_DI = new DigitalInput (0 );
You can’t perform that action at this time.
0 commit comments