Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

AchyuthKashyap
Copy link
Contributor

No description provided.

@@ -36,6 +38,15 @@
Command m_autonomousCommand;
SendableChooser<Command> m_chooser = new SendableChooser<>();

public void log(){
ShuffleboardTab visionTab = Shuffleboard.getTab("visionTab");
Shuffleboard.selectTab("visionTab");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to "Match"

Copy link
Member

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());
Copy link
Member

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

src/main/java/frc/robot/subsystems/Arm.java Outdated Show resolved Hide resolved
public void log(){
ShuffleboardTab elevator = Shuffleboard.getTab("Elevator");
Shuffleboard.selectTab("Elevator");
elevator.add("Arm Position", one.getSelectedSensorPosition()).withSize(4, 4).withPosition(0, 0);
Copy link
Member

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);
Copy link
Member

@njaison njaison Feb 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Intake

src/main/java/frc/robot/subsystems/PneumaticsSystem.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/subsystems/PneumaticsSystem.java Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants