Go to Post Copies gonna copy. - Arpan [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2016, 15:21
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Print to Driver Station?

Quote:
Originally Posted by euhlmann View Post
With the roborio, processor usage on a simple print shouldn't be an issue.

You could also use networktables and print to the smartdashboard
You'd be surprised (though I shall say nothing as I aim not to provide un-researched claims of the Driver Station and the roboRIO)

have you tried DriverStation.reportError?
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2016, 18:17
NegativeZero NegativeZero is offline
Registered User
FRC #3098
 
Join Date: Jan 2016
Location: Waterford
Posts: 6
NegativeZero is an unknown quantity at this point
Re: Print to Driver Station?

Quote:
Originally Posted by Arhowk View Post
have you tried DriverStation.reportError?
I have tried that, but i am being thrown a lot of warnings/errors.

Code:
CTRE CAN Recieve Timeout at edu.wpi.first.wpilibj.hal.CanTalonJNI.GetAppliedThrottle(Native Method)
edu.wpi.first.wpilibj.CANTalon.get(CANTalon.java:577)
edu.wpi.first.wpilibj.CANSpeedController.updateTable(CANSpeedController.java:159)
edu.wpi.first.wpilibj.CANTalon.updateTable(CANTalon.java:1773)
edu.wpi.first.wpilibj.CANTalon.initTable(CANTalon.java:1765)
edu.wpi.first.wpilibj.livewindow.LiveWindow.initializeLiveWindowComponents(LiveWindow.java:86)
edu.wpi.first.wpilibj.livewindow.LiveWindow.setEnabled(LiveWindow.java:108)
edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:101)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:241)
My code is
Code:
String DSPrint;

protected void execute () {

if (Robot.oi.driver.getRawButton(8) == 1)
{
DSPrint = Button On;
DriverStation.reportError(DSPrint, false);
}

else
{
DSPrint = Button Off;
DriverStation.reportError(DSPrint, false);
}

}
Any ideas?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi