Go to Post The GDC needs to write the rules once and let the game be what the game is going to be. There's little that's fun about being told exactly how to play with your toys. - Madison [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 16-01-2017, 22:28
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
RioLog Not Receiving NetConsole Output

Hello,
My team has a problem with the Riolog. This problem resurfaces every single year and I really don't understand why.

We run java on our robot and we flashed our RoboRio, Talon SRXs, and radio with the latest flash/firmware at both the 2.4 and 5Ghz settings. All comms between the driverstation and robot work fine and code runs perfectly with no interruptions. The console on the driverstation shows the NetConsole output but none of the riologs in eclipse show anything. This problem shows up regardless of whether we are using macs, windows, or linux. Deploying through wifi is not a problem either for each os.

Any help would be appreciated. This problem frustrates my team every single year.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2017, 07:33
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: RioLog Not Receiving NetConsole Output

Just ssh in and do
Code:
tail -f /home/lvuser/FRC_UserProgram.log
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2017, 12:48
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
Re: RioLog Not Receiving NetConsole Output

How do I ssh in? Do I connect through ethernet and log in through my terminal?
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2017, 13:36
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: RioLog Not Receiving NetConsole Output

putty is an ssh client for windows. It doesn't matter if it's ethernet or wifi
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2017, 22:12
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
Re: RioLog Not Receiving NetConsole Output

I just read on the FRC website that the new firmware doesn't allow us to gain ssh access. We can only use the Radio Configuration Utility to modify it.

Any other suggestions?
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2017, 22:28
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,562
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: RioLog Not Receiving NetConsole Output

Quote:
Originally Posted by Kevin Zhang View Post
I just read on the FRC website that the new firmware doesn't allow us to gain ssh access. We can only use the Radio Configuration Utility to modify it.

Any other suggestions?
Are you sure you are talking about SSH access to the roboRIO? The new radio firmware doesn't allow us to modify the radio firmware because of FCC rules but the roboRIO should have no such issues and modifying anything on the RoboRIO with the Radio Configuration Utility sounds like a bad idea.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2017, 14:44
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
Re: RioLog Not Receiving NetConsole Output

My apologies. the advice was "ssh in and run" and I assumed we should ssh in into the radio. I'll try to run that same command on the roborio today and see how it works out.
Thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2017, 22:33
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
Re: RioLog Not Receiving NetConsole Output

Ok so tail just prints out the netconsole output in the ssh prompt but it still doesn't solve the problem of the netconsole output not coming to the riolog on each individual laptop.
Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2017, 07:35
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: RioLog Not Receiving NetConsole Output

Quote:
Originally Posted by Kevin Zhang View Post
Ok so tail just prints out the netconsole output in the ssh prompt but it still doesn't solve the problem of the netconsole output not coming to the riolog on each individual laptop.
So you have a log. Do you really need it in Eclipse, or does having a log in some format solve your problem?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2017, 01:03
Kevin Zhang Kevin Zhang is offline
Registered User
FRC #3501
 
Join Date: Dec 2014
Location: usa
Posts: 12
Kevin Zhang is an unknown quantity at this point
Re: RioLog Not Receiving NetConsole Output

Yep we can see netconsole output on the driverstation console. It's just really annoying that the Riolog doesn't work. Plus, riolog not working tells me that something is wrong, regardless of whether or not it is affecting my team right now.
Reply With Quote
  #11   Spotlight this post!  
Unread 21-01-2017, 23:24
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: RioLog Not Receiving NetConsole Output

Quote:
Originally Posted by Kevin Zhang View Post
Yep we can see netconsole output on the driverstation console. It's just really annoying that the Riolog doesn't work. Plus, riolog not working tells me that something is wrong, regardless of whether or not it is affecting my team right now.
Riolog never works. It doesn't mean there's a problem. If you can see log output in Driver Station or through SSH then your robot program is working correctly.
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
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 13:22.

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