Skip to content

Commit 41e4d7e

Browse files
Update Robot.h
1 parent a51e957 commit 41e4d7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/include/Robot.h

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ class Robot : public frc::TimedRobot {
6161
Joystick flightStick{1};
6262
Compressor compressor;
6363
Timer timer;
64+
Accelerometer accel;
65+
accel = new BuiltInAccelerometer(Accelerometer:kRange_16G);
6466
PWMVictorSPX m_frontLeft{0};
6567
PWMVictorSPX m_backLeft{1};
6668
PWMVictorSPX m_frontRight{2};
@@ -75,4 +77,5 @@ class Robot : public frc::TimedRobot {
7577
DoubleSolenoid s_panelLauncherTop{2, 3};
7678
DoubleSolenoid s_HABfront{4, 5};
7779
DoubleSolenoid s_HABback{6, 7};
80+
7881
};

0 commit comments

Comments
 (0)