We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e29146 commit 5cd0f54Copy full SHA for 5cd0f54
main/cpp/Robot.cpp
@@ -7,6 +7,7 @@
7
8
//320x240 might help with frames per second, reddit user said they got around 20-30 fps instead of our ~4 fps
9
10
+bool isPressed = false;
11
#include "Robot.h"
12
13
void Robot::RobotInit() {
@@ -160,7 +161,15 @@ void Robot::RobotPeriodic() {
160
161
m_leftIntake.Set(0);
162
m_rightIntake.Set(0);
163
}
-
164
+// defense system
165
+ if(fightStick.GetRawAxis(2) == 1)
166
+ {
167
+ for(int i = 0; i < kdnf; i++)
168
169
+
170
+ }
171
172
173
//Hatch Panel Launcher
174
//They are set backwards if timerr is avaible would like to switch them around in both the code and wiring
175
if (fightStick.GetRawButton(4) == 0) {
0 commit comments