Skip to content

Commit

Permalink
Deleted unneeded ToggleGrabber function. Controller is no longer defi…
Browse files Browse the repository at this point in the history
…ned as a constant. Fixed a typo.
  • Loading branch information
Radioactive-Link committed Jan 26, 2023
1 parent 6a3d658 commit 7957550
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
Empty file modified gradlew
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/cpp/Arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void Arm::CheckControllerState() {
}
//Arm positions
//This & ArmSecondPosition are for testing.
//TODO: Test that motor rotates forward and back with right/left bumber presses.
//TODO: Test that motor rotates forward and back with right/left bumper presses.
void Arm::ArmFirstPosition() {
armController.Set(1.0); //Move forwards
}
Expand Down
1 change: 0 additions & 1 deletion src/main/include/Arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Arm {
void ArmThirdPosition();
void ResetPosition();
void HandleGrabber();
void ToggleGrabber();
private:
//int deviceNumber
WPI_TalonSRX armController{ARM_MOTOR_CONTROLLER};
Expand Down
2 changes: 1 addition & 1 deletion src/main/include/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <frc/XboxController.h>

//frc::Joystick joystick{0};
frc::XboxController const m_controller{0};//{int index} as defined in driverstation
frc::XboxController m_controller{0};//{int index} as defined in driverstation
/** Button Bindings Overview:
* Left Joystick y-axis = move robot forward/back
* Right Joystick x-axis = rotate robot left/right
Expand Down

0 comments on commit 7957550

Please sign in to comment.