File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Robot : public frc::TimedRobot {
20
20
Robot() {}
21
21
22
22
void RobotInit() override {
23
- compressor.Start ();
23
+ compressor.Stop ();
24
24
};
25
25
void RobotPeriodic() override {}
26
26
void AutonomousInit() override {
@@ -43,11 +43,11 @@ class Robot : public frc::TimedRobot {
43
43
//the else if statments is mostly likely unneeded, will test with and without so see if it is needed
44
44
// 3 = A button
45
45
if (xbox.GetRawButton(3) == 1) {
46
- Drive.ArcadeDrive(xbox.GetRawAxis(1) * -1 / 2, xbox.GetRawAxis(0) / 2 );
46
+ Drive.ArcadeDrive(sqrt( xbox.GetRawAxis(1)) * -.5, sqrt( xbox.GetRawAxis(0)) * .5 );
47
47
} else if (xbox.GetRawButton(3) == 0) {
48
- Drive.ArcadeDrive(xbox.GetRawAxis(1) * -1 * .7, xbox.GetRawAxis(0) / 2 );
48
+ Drive.ArcadeDrive(sqrt( xbox.GetRawAxis(1)) * -.7, sqrt( xbox.GetRawAxis(0)) * .5 );
49
49
} else {
50
- Drive.ArcadeDrive(xbox.GetRawAxis(1) * -1 * .7, xbox.GetRawAxis(0) / 2 );
50
+ Drive.ArcadeDrive(sqrt( xbox.GetRawAxis(1)) * -.7, sqrt( xbox.GetRawAxis(0)) * .5 );
51
51
}
52
52
//HAB Lift(Untested)
53
53
//HAB lift
You can’t perform that action at this time.
0 commit comments