Go to Post kids these days, with their fancy aluminum sprockets, don't know how good they have it. - AllenGregoryIV [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 3 votes, 4.33 average. Display Modes
  #1   Spotlight this post!  
Unread 19-01-2015, 16:41
TheMechanic40 TheMechanic40 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: North Carolina
Posts: 31
TheMechanic40 is an unknown quantity at this point
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?
  #2   Spotlight this post!  
Unread 19-01-2015, 16:51
Darkseer54's Avatar
Darkseer54 Darkseer54 is offline
Former Controls Captain and Driver
AKA: Zach Kaplan
FRC #1086 (Blue Cheese)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Richmond, VA
Posts: 138
Darkseer54 is a glorious beacon of lightDarkseer54 is a glorious beacon of lightDarkseer54 is a glorious beacon of lightDarkseer54 is a glorious beacon of lightDarkseer54 is a glorious beacon of lightDarkseer54 is a glorious beacon of light
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
  #3   Spotlight this post!  
Unread 19-01-2015, 16:54
protoserge's Avatar
protoserge protoserge is offline
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 750
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
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?
  #4   Spotlight this post!  
Unread 19-01-2015, 17:26
TheMechanic40 TheMechanic40 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: North Carolina
Posts: 31
TheMechanic40 is an unknown quantity at this point
Re: How to print to the console in eclipse java programming FRC 2015

Quote:
Originally Posted by Darkseer54 View Post
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.
  #5   Spotlight this post!  
Unread 19-01-2015, 18:29
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,058
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
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.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Closed Thread


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 02:43.

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