Go to Post It is often less about what you say, and more about how you say it. - IKE [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2015, 13:46
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
RoboRIO RIOLog in Eclipse Broken! Help!

Hi everyone! I am the new programmer for my team this year, and I just set up Eclipse and all the FRC plugins. I have successfully programmed our roboRIO practice bot, as well as run it. In the past few days, rioLog on Eclipse was working and would give me output for statements in my code where I had "System.out.println" statements. However, just today and yesterday, I have been unable to get any output from the rioLog on Eclipse to help get values from the motors, joystick, etc. Would anyone happen to know why the rioLog seems to have broke down and how I can reset it on Eclipse to work again? Thanks!
  #2   Spotlight this post!  
Unread 18-01-2015, 14:00
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: 136
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: RoboRIO RIOLog in Eclipse Broken! Help!

Are you using the latest update for eclipse from WPI? That seemed to fix our problems with RIOlog.
  #3   Spotlight this post!  
Unread 18-01-2015, 14:11
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Yes. I'm using all of the 2015 FRC Update Driver Station software too. The thing is, everything was working fine just a few days ago when I wrote the code - outputs were recorded perfectly in the rioLog. Yet now when I try to get output from the print statements in my code in rioLog nothing happens. IDK what happened.
  #4   Spotlight this post!  
Unread 18-01-2015, 14:13
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Actually Darkseer, scrap that. I did not see there was a new update to Eclipse from WPI. I will update and post if the rioLog issue is fixed
  #5   Spotlight this post!  
Unread 18-01-2015, 14:19
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
Re: RoboRIO RIOLog in Eclipse Broken! Help!

I just updated Eclipse with the recent update from WPI. Still no response from the rioLog. Should I just reinstall the 2015 Update Software and reinstall Eclipse and see if that fixes the problem?
  #6   Spotlight this post!  
Unread 18-01-2015, 14:30
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: 136
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: RoboRIO RIOLog in Eclipse Broken! Help!

Couple of things you could check first: Make sure your firewall is off (we had that issue as well), and check out your subnet mask. It should be 255.255.255.0 . If it is not then go in and manually change it to that. If that doesn't help then I'd have to (unfortunately) recommend that you do uninstall and reinstall and see if that works. I'd suggest you post before doing this though.

EDIT: Also, not to be patronising, but check your settings for RIOlog and make sure you are accepting packets and such.

Last edited by Darkseer54 : 18-01-2015 at 14:34.
  #7   Spotlight this post!  
Unread 18-01-2015, 14:34
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
We've noticed sometimes if you disconnect then reconnect to the wireless network, the RIOLog magically comes to life.

I.e. after we send code and expect output on the log and get nothing, we'll disconnect from the 610 wireless network, then reconnect. When the connection comes back, we see our output start showing up.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #8   Spotlight this post!  
Unread 18-01-2015, 15:08
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Hi. So here's what I have done so far. I reinstalled the Driver Station and other utilities. Reinstalled the WPI Plugin in Eclipse. Set my IP Address on my adapter to 10.24.96.51. Set subnet to 255.255.255.0. Turned Windows Firewall off. Disconnected after uploading code and connected again as Mr. Lim suggested. Still no output coming from rioLOG.
  #9   Spotlight this post!  
Unread 18-01-2015, 16:06
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: 136
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: RoboRIO RIOLog in Eclipse Broken! Help!

Did you recently reimage your roborio? If so did you have the log out on? Also, did you check the settings for RIOlog?
  #10   Spotlight this post!  
Unread 18-01-2015, 20:12
Arbalest007 Arbalest007 is offline
Registered User
FRC #2496
 
Join Date: Sep 2014
Location: Irvine, California
Posts: 19
Arbalest007 is an unknown quantity at this point
Re: RoboRIO RIOLog in Eclipse Broken! Help!

I re-imaged it yesterday to make sure I had all the connection and Bridge Configuration set up correctly. Was there something I did not check in the Imaging Utility to let the RioLog work?
  #11   Spotlight this post!  
Unread 18-01-2015, 20:41
Schnabel's Avatar
Schnabel Schnabel is offline
Seriously I'm almost never serious!
AKA: Eric Schnabel
FRC #0469
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2003
Location: Troy, MI
Posts: 1,174
Schnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond repute
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Here's the issue I'm having, the RioLog option isn't available for me in show view under general. (running on a mac)
  • I updated eclipse
  • I updated to Java 8
  • I have automatic updates for plugins enabled
  • I restarted eclipse
I'm lost and don't know what else to do. Any help is appreciated.
__________________
I win! XD
  #12   Spotlight this post!  
Unread 18-01-2015, 21:01
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: 136
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: RoboRIO RIOLog in Eclipse Broken! Help!

Arbalest007 - There should be something in the imaging tool along the lines of console out or log out. Check to make sure you have that checked. Also make sure that in RIOlog all the settings are set to accepting feedback, and not pause or anything like that.

Schnabel - Did you install the FRC toolchain? That's the only thing I can think of that would be the problem. If you have, just go through the steps for installing again and make sure you follow them line by line. Its a pain, but two days ago I had a problem simply from installing them in the wrong order.
  #13   Spotlight this post!  
Unread 19-01-2015, 01:02
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Quote:
Originally Posted by Schnabel View Post
Here's the issue I'm having, the RioLog option isn't available for me in show view under general. (running on a mac)
  • I updated eclipse
  • I updated to Java 8
  • I have automatic updates for plugins enabled
  • I restarted eclipse
I'm lost and don't know what else to do. Any help is appreciated.
Did you deinstall previous versions of Java or just install Java 8? It may be that eclipse is still using Java 7. The riolog is only available if Eclipse's runtime environment is Java 8.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #14   Spotlight this post!  
Unread 19-01-2015, 10:01
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 305
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Quote:
Originally Posted by Arbalest007 View Post
Hi. So here's what I have done so far. I reinstalled the Driver Station and other utilities. Reinstalled the WPI Plugin in Eclipse. Set my IP Address on my adapter to 10.24.96.51. Set subnet to 255.255.255.0. Turned Windows Firewall off. Disconnected after uploading code and connected again as Mr. Lim suggested. Still no output coming from rioLOG.
If you are connecting wirelessly to the roboRIO, I believe you should be set for DHCP (meaning you should have selected "Obtain IP address automatically") instead of setting a specific IP address based on your team number as we had to do in the past. I feel like the communications instructions are not very definitive because they don't give you a specific line-by-line list of what to set, but this works for us.
__________________
  #15   Spotlight this post!  
Unread 19-01-2015, 19:10
Schnabel's Avatar
Schnabel Schnabel is offline
Seriously I'm almost never serious!
AKA: Eric Schnabel
FRC #0469
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2003
Location: Troy, MI
Posts: 1,174
Schnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond repute
Re: RoboRIO RIOLog in Eclipse Broken! Help!

Quote:
Originally Posted by Darkseer54 View Post
Schnabel - Did you install the FRC toolchain
I believe I am good here. I did follow the instructions when I installed originally and am able to deploy code.

Quote:
Originally Posted by Peter Johnson View Post
Did you deinstall previous versions of Java or just install Java 8? It may be that eclipse is still using Java 7. The riolog is only available if Eclipse's runtime environment is Java 8.
I did not uninstall Java 7, but looking at my runtime configuration Java 7 isn't an option available any more, I'll look into this further (thanks for the tip).
Edit: Just forced an uninstall of Java, reinstalled and still no luck.

Quote:
Originally Posted by MamaSpoldi View Post
If you are connecting wirelessly to the roboRIO, I believe you should be set for DHCP (meaning you should have selected "Obtain IP address automatically") instead of setting a specific IP address based on your team number as we had to do in the past. I feel like the communications instructions are not very definitive because they don't give you a specific line-by-line list of what to set, but this works for us.
Network adapter is set to DHCP, mDNS is resolving correctly. I would look into this further if I couldn't connect, but I can't get the option to show up in eclipse to add to my view.

Thanks again all!
__________________
I win! XD

Last edited by Schnabel : 19-01-2015 at 19:17.
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 01:06.

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