|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
SmartDashboard prints
I've been trying to print my ultrasonic and gyro values to the SmartDashboard using
SmartDashboard.putNumber(RobotMap.drivetrainultra. getVoltage()); SmartDashboard.putNumber(RobotMap.drivetraingyro.g etAngle()); 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. |
|
#2
|
||||
|
||||
|
Re: SmartDashboard prints
You'd have to use it like so:
Code:
SmartDashboard.putNumber("Gyro", RobotMap.drivetraingyro.getAngle());
|
|
#3
|
|||
|
|||
|
Re: SmartDashboard prints
SmartDashboard.putNumber("Gyro value", gyro.getAngle());
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|