![]() |
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. |
Re: SmartDashboard prints
You'd have to use it like so:
Code:
SmartDashboard.putNumber("Gyro", RobotMap.drivetraingyro.getAngle()); |
Re: SmartDashboard prints
SmartDashboard.putNumber("Gyro value", gyro.getAngle());
|
| All times are GMT -5. The time now is 09:00 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi