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 10
10
11
11
import edu .wpi .first .wpilibj .SPI ;
12
12
13
- import edu .wpi .first .wpilibj .ADXL362 ;
14
13
import edu .wpi .first .wpilibj .TimedRobot ;
15
14
import edu .wpi .first .wpilibj .motorcontrol .Spark ;
16
15
import edu .wpi .first .wpilibj .smartdashboard .SendableChooser ;
21
20
import com .autodesk .synthesis .revrobotics .RelativeEncoder ;
22
21
import com .autodesk .synthesis .revrobotics .SparkAbsoluteEncoder ;
23
22
import com .kauailabs .navx .frc .AHRS ;
23
+ import com .autodesk .synthesis .wpilibj .ADXL362 ;
24
24
import com .autodesk .synthesis .CANEncoder ;
25
25
import com .autodesk .synthesis .ctre .TalonFX ;
26
26
@@ -39,7 +39,7 @@ public class Robot extends TimedRobot {
39
39
private String m_autoSelected ;
40
40
private final SendableChooser <String > m_chooser = new SendableChooser <>();
41
41
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 );
43
43
private AHRS m_Gyro = new AHRS ();
44
44
45
45
private CANSparkMax m_sparkLeft = new CANSparkMax (1 , MotorType .kBrushless );
Original file line number Diff line number Diff line change 10
10
11
11
import edu .wpi .first .wpilibj .SPI ;
12
12
13
- import edu .wpi .first .wpilibj .ADXL362 ;
14
13
import edu .wpi .first .wpilibj .TimedRobot ;
15
14
import edu .wpi .first .wpilibj .motorcontrol .Spark ;
16
15
import edu .wpi .first .wpilibj .smartdashboard .SendableChooser ;
20
19
import com .autodesk .synthesis .revrobotics .CANSparkMax ;
21
20
import com .kauailabs .navx .frc .AHRS ;
22
21
import com .autodesk .synthesis .ctre .TalonFX ;
22
+ import com .autodesk .synthesis .wpilibj .ADXL362 ;
23
23
24
24
/**
25
25
* The VM is configured to automatically run this class, and to call the
@@ -41,7 +41,7 @@ public class Robot extends TimedRobot {
41
41
private TalonFX m_Talon = new TalonFX (7 );
42
42
private XboxController m_Controller = new XboxController (0 );
43
43
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 );
45
45
private AHRS m_Gyro = new AHRS ();
46
46
47
47
private DigitalInput m_DI = new DigitalInput (0 );
You can’t perform that action at this time.
0 commit comments