Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How to print to the console in eclipse java programming FRC 2015 (http://www.chiefdelphi.com/forums/showthread.php?t=133171)

TheMechanic40 19-01-2015 16:41

How to print to the console in eclipse java programming FRC 2015
 
In past years my team, 3506, has used netbeans to programs our robots, but with the addition of the roborio we have been forced to switch to using Eclipse. We shortly found out that you can't print to the console (at least not obviously) and we are stuck with printing to the SmartDashboard which none of us fully understand. I should mention that we are using a command based robot so one of our problems with the SmartDashboard is we do not always know which of the many classes we should use to put the data. Does anyone know if it is possible to print to the console, or something else, or where we should use SmartDashboard?

Darkseer54 19-01-2015 16:51

Re: How to print to the console in eclipse java programming FRC 2015
 
Hi TheMechanic40, instead of the NetConsole that was used last year, the roboRIO uses RIOlog.

Installation instructions are found here. It prints basically the same way that NetConsole did, but you must have eclipse open to use it. A few teams have been having trouble with it, but after a bit of tinkering it usually works.

Hope this helps!

Zach

protoserge 19-01-2015 16:54

Re: How to print to the console in eclipse java programming FRC 2015
 
Can you post the section of code you are trying to output using the CODE (# on the editor) brackets?

TheMechanic40 19-01-2015 17:26

Re: How to print to the console in eclipse java programming FRC 2015
 
Quote:

Originally Posted by Darkseer54 (Post 1430634)
Hi TheMechanic40, instead of the NetConsole that was used last year, the roboRIO uses RIOlog.

Installation instructions are found here. It prints basically the same way that NetConsole did, but you must have eclipse open to use it. A few teams have been having trouble with it, but after a bit of tinkering it usually works.

Hope this helps!

Zach

Yes this works perfectly! Thank you for the information.

virtuald 19-01-2015 18:29

Re: How to print to the console in eclipse java programming FRC 2015
 
Netconsole and rioLog actually use the same protocol. If you had netconsole installed from previous years, it should still work with the current robot.


All times are GMT -5. The time now is 02:43.

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