View Single Post
  #2   Spotlight this post!  
Unread 05-02-2014, 21:07
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Robots don't quit

Quote:
Originally Posted by Mr.Roboto3335 View Post
When I try to upload the code it says "Robots don't quit!" I would like to know why it does that and how to fix it. Thanks!
When it tells you Robots don't quit!, it will also give you a stack trace which will show the path through the code (including line numbers) which triggered the problem. By looking through that path, you should be able to identify your bug.

One thing I notice immediately is that you call TalonInit after RobotDriveInit, so the talons are null when RobotDriveInit tries to use them. This will cause it to crash.
Reply With Quote