smart dashboard prints (may need more)

This commit is contained in:
aarav18
2023-03-22 20:10:13 -06:00
parent db14e87ddd
commit f6470655ae
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -120,7 +120,10 @@ public class Robot extends TimedRobot {
* This function is called periodically during operator control.
*/
@Override
public void teleopPeriodic() {}
public void teleopPeriodic() {
SmartDashboard.putBoolean("READY", m_robotContainer.readyForPlacement);
SmartDashboard.putNumber("GYRO", m_robotContainer.m_robotSwerveDrive.getGyroAngle());
}
/**
* This function is called periodically during test mode.
@@ -88,7 +88,7 @@ public class RobotContainer {
private Command toggleClaw = new InstantCommand(() -> m_robotClaw.toggle(), m_robotClaw);
private boolean readyForPlacement = false;
public boolean readyForPlacement = false;
private Boolean isPole = null;
private SequentialCommandGroup alignToPole =