Go to Post Ahem, a climbing xerox machine. Also known as the scariest type of xerox machine this Earth has ever seen. - itsjustjon [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 06-01-2015, 17:56
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
System out println

In NetBeans, the build would never finish and messages would be sent to the output stream in session.

In Eclipse, the build stops.

Where do the system.out.println messages go?

The only thing I thought would work would be DriverStation -> Messages tab (or log tab) but both are empty
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2015, 18:21
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: System out println

http://wpilib.screenstepslive.com/s/...console-output
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2015, 08:39
afiolmahon afiolmahon is offline
Registered User
FRC #1218
 
Join Date: Dec 2014
Location: Philadelphia
Posts: 7
afiolmahon is an unknown quantity at this point
Re: System out println

It may also be convenient to switch the java perspective to default when eclipse opens if you are just doing java programming since it has all of the tools that you will want instead of having your window cramped by the C++ views, java perspective has the RIOlog (robot console output) view shown by default if you have the plugins installed. (Preferences -> General -> Perspectives -> select java from list -> make default -> apply)
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2015, 08:54
Team118Joseph's Avatar
Team118Joseph Team118Joseph is offline
The guy that did the lighting
AKA: Joseph Foster
FRC #0118 (Robonauts)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2013
Location: League City
Posts: 61
Team118Joseph will become famous soon enoughTeam118Joseph will become famous soon enough
Re: System out println

The driver station log is for lower level output. It will tell you the code couldn't load or LabView failed to start.
__________________
FRC Countdown Website: http://frccountdown.hosthorde.net/
FRC Countdowns App: https://play.google.com/store/apps/d...h.frccountdown

Last edited by Team118Joseph : 07-01-2015 at 08:56.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2015, 17:56
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: System out println

The riolog is completely empty... heres the code

Code:
    int tick = 0;
    public void disabled(){
    	while(isDisabled()){
    		
    		System.out.println(tick++);
    		System.err.println(tick++);

    		Timer.delay(k_updatePeriod);
    	}
    }
Reply With Quote
  #6   Spotlight this post!  
Unread 07-01-2015, 21:56
Team3266Spencer's Avatar
Team3266Spencer Team3266Spencer is offline
Team Captain and Lead Programmer
AKA: Spencer Lanman
FRC #3266 (Robots-R-US)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Richmond, Indiana
Posts: 280
Team3266Spencer is an unknown quantity at this point
Re: System out println

I've only gotten the riolog to work when I have the rRIO plugged in via USB.
__________________
2012: Buckeye Regional, Queen City Regional, Human Player
2013: Queen City Regional, Buckeye Regional, Crossroads Regional
Shooter Operator
2014: Crossroads Regional, Queen City Regional
Catapult Operator
2015: Georgia Southern Classic Regional (Winner), Queen City Regional
Chainsaw Operator
Want to talk? TeamSpeak: team3266.noip.me
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2015, 09:35
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: System out println

Getting RIOlog (NetConsole) depends on the correct subnet mask settings on your computer. If you use DHCP and the router setup tool, it should set everything correctly. If you do it yourself, make sure you are using 255.255.255.0 as the subnet mask or you won't see anything.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2015, 23:05
thetonio96 thetonio96 is offline
Registered User
FRC #4635 (Eugenio)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Monterrey
Posts: 9
thetonio96 is an unknown quantity at this point
Re: System out println

So, RIOlog will work with this:
Code:
System.out.println(Some message);
System.err.println(Some message);
or do they use another function to print?
Reply With Quote
  #9   Spotlight this post!  
Unread 08-01-2015, 23:18
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by thetonio96 View Post
So, RIOlog will work with this:
Code:
System.out.println(Some message);
System.err.println(Some message);
or do they use another function to print?
Yep, we redirect standard out and standard error to netconsole, which is what riolog reads.
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:42.

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