I’ve been trying to print my ultrasonic and gyro values to the SmartDashboard using
SmartDashboard.putNumber(RobotMap.drivetrainultra.getVoltage());
SmartDashboard.putNumber(RobotMap.drivetraingyro.getAngle());
and I can’t find where it prints it out in the SmartDashboard window. Can anyone tell me where those commands will output, or a different command to print it out somewhere I can find?
I’ve also used the System.out.println to see it on the RIOlog, but I’d like to be able to put my status update prints on the SmartDashboard.
You’d have to use it like so:
SmartDashboard.putNumber("Gyro", RobotMap.drivetraingyro.getAngle());
Edit: It outputs to the Java Dashboard.
SmartDashboard.putNumber(“Gyro value”, gyro.getAngle());