View Single Post
  #5   Spotlight this post!  
Unread 23-11-2008, 14:26
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Well, if you switched out all parts of the control system, and it is still having an issue, then I would point at your programming (probably the culprit) or at the field controls (but if it is working for everyone else, then it is probably working for you).

Sounds like your controller is crashing (as in it is going to programming mode, autonomous, and other things randomly). Weird things happen when you access memory that isn't supposed to be accessed and things will crash if you have something dividing by zero. Of course dividing by zero isn't the only that would cause a crash... Causing a variable to go over its limit will cause this error (int cannot go over 64000 something).

If you are only experiencing these problems on the field and not back at your pit, then I'd say it has something to do with the autonomous and teleoperated switch in programming.

My recommendation is start off with a clean slate and reprogram. Since you only have 2 motors, this shouldn't be too hard. For autonomous, you can probably copy and paste most of it, but look through it to make sure you're not doing anything bad.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote