Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   SmartDashboard prints (http://www.chiefdelphi.com/forums/showthread.php?t=133078)

1024Programming 01-17-2015 05:42 PM

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.

M3rcuriel 01-17-2015 07:00 PM

Re: SmartDashboard prints
 
You'd have to use it like so:
Code:

SmartDashboard.putNumber("Gyro", RobotMap.drivetraingyro.getAngle());
Edit: It outputs to the Java Dashboard.

Fauge7 01-17-2015 07:01 PM

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