-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Achyuth kashyap/shuffle board #15
base: master
Are you sure you want to change the base?
Conversation
src/main/java/frc/robot/Robot.java
Outdated
@@ -36,6 +38,15 @@ | |||
Command m_autonomousCommand; | |||
SendableChooser<Command> m_chooser = new SendableChooser<>(); | |||
|
|||
public void log(){ | |||
ShuffleboardTab visionTab = Shuffleboard.getTab("visionTab"); | |||
Shuffleboard.selectTab("visionTab"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename to "Match"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you don't need to select the tab after you get it
Shuffleboard.selectTab("visionTab"); | ||
visionTab.add("arm position", arm.getArmPos()).withSize(4, 4).withPosition(12, 0); | ||
//visionTab.add("limelight vision", video); | ||
//visionTab.add("toggle compressor command", pneumaticsSystem.compressorOn()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call new PS_ToggleCompressor
once it exists
public void log(){ | ||
ShuffleboardTab elevator = Shuffleboard.getTab("Elevator"); | ||
Shuffleboard.selectTab("Elevator"); | ||
elevator.add("Arm Position", one.getSelectedSensorPosition()).withSize(4, 4).withPosition(0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Elevator
public void log(){ | ||
ShuffleboardTab intake = Shuffleboard.getTab("Intake"); | ||
Shuffleboard.selectTab("Intake"); | ||
intake.add("Arm Position", leftIntake.getSelectedSensorPosition()).withSize(4, 4).withPosition(0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Intake
No description provided.