mirror of
https://github.com/Team4388/Shirt-Cannon.git
synced 2026-06-09 08:38:05 -06:00
Add SmartDashboard Readouts
This commit is contained in:
@@ -183,5 +183,24 @@ public class RobotContainer {
|
||||
// m_robotShooterTopRightInner.fire();
|
||||
// m_robotShooterTopRightOuter.fire();
|
||||
}
|
||||
public void putReadyState() {
|
||||
SmartDashboard.putBoolean("Bottom Left", m_robotShooterBottomLeft.isReady());
|
||||
SmartDashboard.putBoolean("Bottom Middle", m_robotShooterBottomMiddle.isReady());
|
||||
SmartDashboard.putBoolean("Bottom Right", m_robotShooterBottomRight.isReady());
|
||||
|
||||
SmartDashboard.putBoolean("Top Left", m_robotShooterTopLeft.isReady());
|
||||
SmartDashboard.putBoolean("Top Middle", m_robotShooterTopMiddle.isReady());
|
||||
SmartDashboard.putBoolean("Top Right", m_robotShooterTopRight.isReady());
|
||||
|
||||
// SmartDashboard.putBoolean("", m_robotShooterBottomLeftOuter.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterBottomLeftInner.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterBottomRightInner.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterBottomRightOuter.isReady());
|
||||
|
||||
// SmartDashboard.putBoolean("", m_robotShooterTopLeftOuter.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterTopLeftInner.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterTopRightInner.isReady());
|
||||
// SmartDashboard.putBoolean("", m_robotShooterTopRightOuter.isReady());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -75,19 +75,19 @@ public class RobotMap {
|
||||
|
||||
|
||||
private void configureLiveWindow() {
|
||||
SendableRegistry.setName(driveMotorLeftFollower, "Drive", "Motor Left Follower");
|
||||
SendableRegistry.setName(driveMotorRightFollower, "Drive", "Motor Right Follower");
|
||||
SendableRegistry.setName(driveBase, "Drive", "Base");
|
||||
// SendableRegistry.setName(driveMotorLeftFollower, "Drive", "Motor Left Follower");
|
||||
// SendableRegistry.setName(driveMotorRightFollower, "Drive", "Motor Right Follower");
|
||||
// SendableRegistry.setName(driveBase, "Drive", "Base");
|
||||
|
||||
SendableRegistry.setName(hornSolenoid, "Horn", "Solenoid");
|
||||
// SendableRegistry.setName(hornSolenoid, "Horn", "Solenoid");
|
||||
|
||||
SendableRegistry.setName(shooterSolenoidBottomLeftOuter, "Shooter", "Solenoid Bottom Left Outer");
|
||||
SendableRegistry.setName(shooterSolenoidBottomLeftInner, "Shooter", "Solenoid Bottom Left Inner");
|
||||
SendableRegistry.setName(shooterSolenoidBottomRightInner, "Shooter", "Solenoid Bottom Right Inner");
|
||||
SendableRegistry.setName(shooterSolenoidBottomRightOuter, "Shooter", "Solenoid Bottom Right Outer");
|
||||
SendableRegistry.setName(shooterSolenoidTopLeftOuter, "Shooter", "Solenoid Top Left Outer");
|
||||
SendableRegistry.setName(shooterSolenoidTopLeftInner, "Shooter", "Solenoid Top Left Inner");
|
||||
SendableRegistry.setName(shooterSolenoidTopRightInner, "Shooter", "Solenoid Top Right Inner");
|
||||
SendableRegistry.setName(shooterSolenoidTopRightOuter, "Shooter", "Solenoid Top Right Outer");
|
||||
// SendableRegistry.setName(shooterSolenoidBottomLeftOuter, "Shooter", "Solenoid Bottom Left Outer");
|
||||
// SendableRegistry.setName(shooterSolenoidBottomLeftInner, "Shooter", "Solenoid Bottom Left Inner");
|
||||
// SendableRegistry.setName(shooterSolenoidBottomRightInner, "Shooter", "Solenoid Bottom Right Inner");
|
||||
// SendableRegistry.setName(shooterSolenoidBottomRightOuter, "Shooter", "Solenoid Bottom Right Outer");
|
||||
// SendableRegistry.setName(shooterSolenoidTopLeftOuter, "Shooter", "Solenoid Top Left Outer");
|
||||
// SendableRegistry.setName(shooterSolenoidTopLeftInner, "Shooter", "Solenoid Top Left Inner");
|
||||
// SendableRegistry.setName(shooterSolenoidTopRightInner, "Shooter", "Solenoid Top Right Inner");
|
||||
// SendableRegistry.setName(shooterSolenoidTopRightOuter, "Shooter", "Solenoid Top Right Outer");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user