Go to Post Maybe we should have some safety training before and during build instead of just having flyers at our pit. Hm... - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 30-01-2017, 18:35
ap303's Avatar
ap303 ap303 is offline
Registered User
FRC #0303
 
Join Date: Jan 2017
Location: bridgewater
Posts: 2
ap303 is an unknown quantity at this point
Robo Rio User Logs

At random intervals while running open CV code, the rio will crash and refuse to connect over ethernet or usb. Because of this, we can't get the crash report until we reset the rio. When we reset it, the new log overwrites the old one. Does anyone know if there's a way to get the logs to save?

Thanks

--------------
My opinions do not necessarily reflect those of my team.
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2017, 08:00
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: 395
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: Robo Rio User Logs

Quote:
Originally Posted by ap303 View Post
At random intervals while running open CV code, the rio will crash and refuse to connect over ethernet or usb. Because of this, we can't get the crash report until we reset the rio. When we reset it, the new log overwrites the old one. Does anyone know if there's a way to get the logs to save?

Thanks

--------------
My opinions do not necessarily reflect those of my team.
Anything in the DriverStation log viewer?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2017, 08:55
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robo Rio User Logs

You might try disabling automatic user code start through the roboRIO web browser page.
Then start your user code via command line.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2017, 17:33
ap303's Avatar
ap303 ap303 is offline
Registered User
FRC #0303
 
Join Date: Jan 2017
Location: bridgewater
Posts: 2
ap303 is an unknown quantity at this point
Re: Robo Rio User Logs

We managed to SSH into the Rio but we are having trouble running the code through the Linux terminal using the command
Code:
java -jar FRCUserProgram.jar
. It gives the error message
Code:
-sh: java: command not found
. What is the command to run the user code?

Thanks
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2017, 18:04
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 151
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: Robo Rio User Logs

Assuming you SSH'd as lvuser, run

Code:
./FRCRunRobotProgram.sh
(I forget the actual name of the script... it's close to what I wrote above)
__________________
WPILib
GRIP, RobotBuilder
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 11:55.

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