Go to Post Make sure you THOROUGHLY understand the rules of the game before you actually start designing the robot. - Koko Ed [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 10-20-2016, 09:51 AM
Xanawatt Xanawatt is offline
Registered User
FRC #1024
 
Join Date: May 2015
Location: Indianapolis, Indiana
Posts: 17
Xanawatt is an unknown quantity at this point
Question "Robots don't quit!"

I did not start this thread because we have a current problem; however, this error has popped up several times over the course of the season and we were always able to find what was causing it. What happens, for those unfamiliar with the error is that the robot code appears to deploy correctly, but when you start up driverstation, there is either no code, or there is code. When there appears to be code, starting teleop causes the code to crash and "Robots don't quit!" is printed to the driverstation error log. The code then turns green again and the same thing happens. We have determined that the cause of this error is that two or more objects are assigned to the same port on the roboRIO. From research, I have found that there are more reasons that this could be thrown. Can someone please explain exactly what "Robots don't quit!" means? Also, is the first scenario that I described part of this too or is that a completely different error?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-20-2016, 10:18 AM
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,697
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: "Robots don't quit!"

I think "Robots don't quit" is just related to when the user code gets far enough to complete initialization, but then later crashes.
The roboRIO automatically restarts crashed user code, so a persistent code error will cause the user code to keep restarting over and over again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 10-23-2016, 11:32 PM
TimTheGreat's Avatar
TimTheGreat TimTheGreat is offline
ArchdukeTim
FRC #1418 (Vae Victis)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Falls Church
Posts: 232
TimTheGreat has a spectacular aura aboutTimTheGreat has a spectacular aura aboutTimTheGreat has a spectacular aura about
Re: "Robots don't quit!"

Quote:
Originally Posted by Mark McLeod View Post
I think "Robots don't quit" is just related to when the user code gets far enough to complete initialization, but then later crashes.
The roboRIO automatically restarts crashed user code, so a persistent code error will cause the user code to keep restarting over and over again.
From what I understand, a better message for the error would be "Robots shouldn't quit." It means the robot has stopped running, and basically the program has concluded. "Robots don't quit" means your code has stopped, but real "robots don't quit." They should keep running.
__________________
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.



2012 - Gracious Professionalism - Greater DC
2014 - Regional Finalist - Virginia | Industrial Design - Virginia | Regional Finalist - Greater DC
2015 - Innovation in Control - Greater DC
2016 - District Event Winner - VAHAY | Innovation in Control - VAHAY | District Event Winner - MDBET | Industrial Design - MDBET | District Champion - CHCMP | Innovation in Control - CHCMP
Reply With Quote
  #4   Spotlight this post!  
Unread 10-24-2016, 09:17 AM
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,697
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: "Robots don't quit!"

The "Robots Don't Quit" message might only be issued when the code has successfully completed restarting and it notices that it has been restarted.
That would make it accurate.
Or maybe "I get knocked down, but I get up again, cause nothin's going to keep me down."
Repeat as required...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-24-2016 at 09:45 AM.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-25-2016, 01:17 AM
Dan Waxman Dan Waxman is offline
Registered User
FRC #0263 (Aftershock)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Long Island
Posts: 28
Dan Waxman is an unknown quantity at this point
Re: "Robots don't quit!"

Most of the time this is just because your code through an exception -- there can be a number of reasons why this happened, and I can't comment on that without seeing your code, but that's usually the cause of the message.
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 08:23 AM.

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