Go to Post I firmly believe that - those [GDC] committee members I have met, even briefly, certainly have a passion for what they are doing and want to give teams and students the best possible experiences. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Other > VEX
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 22-11-2008, 23:10
ReapersRule ReapersRule is offline
Registered User
AKA: Aimee
FRC #1735 (Green Reapers)
Team Role: Alumni
 
Join Date: Jul 2008
Rookie Year: 2007
Location: Worcester
Posts: 224
ReapersRule will become famous soon enough
Send a message via Yahoo to ReapersRule
Question HELP!!! VEX malfunction!!!

My VEX robot hates me. At Savage Soccer@WPI, it drove off the field, but never seemed to work on it. Then, it got worse. Now it randomly goes into programming mode and autonomous mode while I'm driving. To make things worse, it has 3 different autonomous programs it switches between randomly. I have tried replacing the RX, reprogramming, both crystals and tether, different batteries.... What should I do?!?!?!


I am starting to want to kill it!!!
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 22-11-2008, 23:43
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,102
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

First off, take a second and calm down. One of the important things to remember about robotics is that your robot isn't thinking on it's own it is only responding to commands that it has.

You touched upon a few different things that are going wrong and the trick is you need to isolate each problem to solve it.

The first thing I would do is re-download the master code. This will flash the firmware and upgrade your controller.

The next step would be to redownload the default code.

Then check all of your motors, RX connection and robot to make sure it is setup properly.

At this point try your robot to see how it functions. If any of the strange operations continue it is possible you have a faulty controller. In my experience there are very few times that the vex controller is at fault but it does happen.

If the robot functions the way that it is supposed to the problem is most likely in your usercode. Without knowing the specifics of your robot I can't give you any advice about that. If you reach this point I suggest you post your code or easyc file so that others can help you to find the problem.

Relax you have come to the right place and we are here to help.
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
Reply With Quote
  #3   Spotlight this post!  
Unread 23-11-2008, 00:55
Akash Rastogi Akash Rastogi is offline
Jim Zondag is my Spirit Animal
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Manchester, Connecticut
Posts: 7,003
Akash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Uber-dumb mistake I made- check to make sure the radio wire isn't touching any metal
__________________
My posts and opinions do not necessarily reflect those of my affiliated team.
['16-'xx]: Mentor FRC 2170 | ['11-'13]: Co-Founder/Mentor FRC 3929 | ['06-'10]: Student FRC 11 - MORT | ['08-'12]: Founder - EWCP (OG)
Reply With Quote
  #4   Spotlight this post!  
Unread 23-11-2008, 10:32
DaveF DaveF is offline
Registered User
no team
 
Join Date: May 2007
Location: New Windsor, MD
Posts: 11
DaveF has a spectacular aura aboutDaveF has a spectacular aura aboutDaveF has a spectacular aura about
Re: HELP!!! VEX malfunction!!!

We saw quite a bit of this at a VRC tournament yesterday where I served as the Field Manager. I am not sure what programming template and field control system is used for Savage Soccer, but we were running the VRC template and using the standard VEX field control system with crystals. The teams having this problem were complaining that the field control system was operating erratically and causing the robots to go back into autonomous mode during driver control. It was my understanding a couple years ago, and I do not believe VEX has changed anything in the last year or two, that once your robot runs the autonomous part of the template, it cannot re-run autonomous until the power on the robot is cycled to reset the microprocessor. The field control system cannot cycle your robot’s power or tell it to run autonomous again.

The programming template sits and waits to see a radio signal from your transmitter before autonomous starts. When we start the match, all the transmitters (sitting on the floor with power on, but no radio signal transmitted) are enabled for a period of time to start the running of the autonomous portion of your code (radio signal transmitted). Once the autonomous code is running, your transmitter is then disabled. Once driver control starts, the transmitters are re-enabled, so you can drive, until the match ends. No data from the field control system is transmitted through your transmitter to eh robot. All the field control system does is enable the transmitters to produce a radio signal.

So after that long description…. I started watching the robots very closely that repeatedly had problems yesterday. Many of them had 6 to 10 motors on them, and they were running many of them at the same time. The second before the robot would revert back to autonomous mode, the robot microcontroller would produce a low battery indication (red LED blink). What appeared to be happening is that the current drain on the battery was causing the battery voltage to drop below the minimum needed for the microprocessor to run (around5 V ?), and the microprocessor would shut down, motors would stop running, the battery voltage would recover, and the microprocessor would reset. It would see the transmitter signal and start autonomous all over again. You must remember that to measure true battery voltage (to determine if it is properly charged) the battery must be under load. When a battery is loaded more than its capacity and charge can handle, the battery voltage will drop quite significantly. You also say that it worked fine off the field. I bet that when you were testing off the field, you were not making your robot work as hard (pushing and doing other activities that make motors work harder and draw mor current). So you were probably not drawing enough current to cause a battery voltage sag.

So the bottom line is that I believe that at the VRC event, some teams were not vigilant about keeping batteries charged, and some were assuming that if they measure the voltage of the battery and it showed 7 volts (not under load) it was ready to go. At the VRC event these problems increased as the day went on yesterday- which probably coincides with teams showing up with well charged batteries, and having trouble getting one fully charged by the end of the day due t match schedules. In addition some teams have been using their batteries for upwards of 3 years, and their ability hold a good solid charge has diminished with age. To keep the VEX batteries usable longer, I know some teams have been using battery conditioners on them.

After all of that, I recommend you check your battery situation very closely. Good luck.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-11-2008, 12:30
ReapersRule ReapersRule is offline
Registered User
AKA: Aimee
FRC #1735 (Green Reapers)
Team Role: Alumni
 
Join Date: Jul 2008
Rookie Year: 2007
Location: Worcester
Posts: 224
ReapersRule will become famous soon enough
Send a message via Yahoo to ReapersRule
Re: HELP!!! VEX malfunction!!!

I probably should have mentioned that I charged the batteries for over 24 hours, I have only 2 motors (squarebot. that's it). I have also switched out the controller. I redownloaded code, and even switched out the RX... that's not the problem.

It can't possibly be the controller. Before the robot was going forward 1 second, pause 1 second, forward 1 second, pause 1 second, repeat continuously. I turned off the controller, pulled out the battery, disconnected the reciever, and it kept doing it.
__________________

Last edited by ReapersRule : 23-11-2008 at 13:07. Reason: Forgot to mention something.
Reply With Quote
  #6   Spotlight this post!  
Unread 23-11-2008, 13:00
Andrew Bates's Avatar
Andrew Bates Andrew Bates is offline
Registered User
AKA: Bates
FRC #0125 (NUTRONS)
Team Role: Mechanical
 
Join Date: Apr 2007
Rookie Year: 2004
Location: Ypsilanti, Michigan/Boston, MA
Posts: 332
Andrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

At this point if you have done everything that Greg told you to do head over to the VEXForum and as for help their in the techinical support section. That forum is run by IFI, they created VEX. IF the controller is bad and it hasn't been 90 days since you got it then they should be able to get you a new one.
__________________
ME Student at Northeastern University, Captain of the NUTRONs #125 FRC

Former member of VEXELLENT and Cranbrook Robotics
Reply With Quote
  #7   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
  #8   Spotlight this post!  
Unread 23-11-2008, 14:52
Happy Birthday! Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Quote:
Originally Posted by DaveF View Post
The teams having this problem were complaining that the field control system was operating erratically and causing the robots to go back into autonomous mode during driver control. It was my understanding a couple years ago, and I do not believe VEX has changed anything in the last year or two, that once your robot runs the autonomous part of the template, it cannot re-run autonomous until the power on the robot is cycled to reset the microprocessor. The field control system cannot cycle your robot’s power or tell it to run autonomous again.
You're correct that the field control system cannot cause a robot to re-enter autonomous. The field control system is only able to turn the robot's transmitter on and off, nothing else. Autonomous is controlled by a timer running inside the robot. Therefore, if the VEX microcontroller resets for any reason (too much current being drawn by the motors and buggy code are two common causes of the microcontroller resetting), the robot will restart its autonomous program. As hard as this is for the teams to accept, this is not the fault of anything external to their robot.
Reply With Quote
  #9   Spotlight this post!  
Unread 23-11-2008, 15:03
Andrew Bates's Avatar
Andrew Bates Andrew Bates is offline
Registered User
AKA: Bates
FRC #0125 (NUTRONS)
Team Role: Mechanical
 
Join Date: Apr 2007
Rookie Year: 2004
Location: Ypsilanti, Michigan/Boston, MA
Posts: 332
Andrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Teams that are competeing in any VEX competition should make sure to read the following page created for VEX competitors by IFI.
__________________
ME Student at Northeastern University, Captain of the NUTRONs #125 FRC

Former member of VEXELLENT and Cranbrook Robotics
Reply With Quote
  #10   Spotlight this post!  
Unread 23-11-2008, 17:17
Anna B.'s Avatar
Anna B. Anna B. is offline
has lots of NASA swag!
AKA: Anna
FRC #1735 (Green Reapers)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Worcester, MA
Posts: 85
Anna B. is a glorious beacon of lightAnna B. is a glorious beacon of lightAnna B. is a glorious beacon of lightAnna B. is a glorious beacon of lightAnna B. is a glorious beacon of lightAnna B. is a glorious beacon of light
Re: HELP!!! VEX malfunction!!!

I can attest to her robot having no obvious problems in the programming. Next time I see her I'll try downloading the master code again and we'll see where to go from there.
-Anna
__________________
raising my parents blood pressure since '94

the best numbers are made up numbers

"let's call the four things A, G, Semicolon, and Pointy"

Maxima debetur puer reverentia
The greatest respect is due a child (Juvenal)
Reply With Quote
  #11   Spotlight this post!  
Unread 23-11-2008, 18:40
gorrilla's Avatar
gorrilla gorrilla is offline
Registered User
AKA: adam spears
FRC #1557 (12voltbolt)
Team Role: Driver
 
Join Date: Mar 2008
Rookie Year: 2007
Location: groveland, florida
Posts: 939
gorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant future
Re: HELP!!! VEX malfunction!!!

maybe the pwm's are in the wrong port? happened to us
__________________
Adam Spears


2010: Florida Regional Finalists.
2010: Goveners Award.
2010: Florida Regional Judges Award.
2010: UL Saftey award.
2009: Florida Regional Chairmans
2009: Rockwell Automation Innovation in Controll Award.
Reply With Quote
  #12   Spotlight this post!  
Unread 23-11-2008, 18:44
Akash Rastogi Akash Rastogi is offline
Jim Zondag is my Spirit Animal
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Manchester, Connecticut
Posts: 7,003
Akash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Quote:
Originally Posted by gorrilla View Post
maybe the pwm's are in the wrong port? happened to us
Highly doubt that since the problem is the random tele-op/opp cntrl switches. Is the robot really "twitchy" as well?
__________________
My posts and opinions do not necessarily reflect those of my affiliated team.
['16-'xx]: Mentor FRC 2170 | ['11-'13]: Co-Founder/Mentor FRC 3929 | ['06-'10]: Student FRC 11 - MORT | ['08-'12]: Founder - EWCP (OG)
Reply With Quote
  #13   Spotlight this post!  
Unread 23-11-2008, 18:56
GaryVoshol's Avatar
Happy Birthday! GaryVoshol GaryVoshol is offline
Cogito ergo arbitro
no team
 
Join Date: Aug 2005
Rookie Year: 2000
Location: Royal Oak, MI
Posts: 5,703
GaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

I seem to recall a thread from about a year ago on this subject. If the robot stalls out under some condition, when it restarts it goes into auto mode. Check for posts from last December or maybe January or February this year.
__________________
(since 2004)
Reply With Quote
  #14   Spotlight this post!  
Unread 23-11-2008, 21:36
Andrew Bates's Avatar
Andrew Bates Andrew Bates is offline
Registered User
AKA: Bates
FRC #0125 (NUTRONS)
Team Role: Mechanical
 
Join Date: Apr 2007
Rookie Year: 2004
Location: Ypsilanti, Michigan/Boston, MA
Posts: 332
Andrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond reputeAndrew Bates has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Quote:
Originally Posted by GaryVoshol View Post
I seem to recall a thread from about a year ago on this subject. If the robot stalls out under some condition, when it restarts it goes into auto mode. Check for posts from last December or maybe January or February this year.
Check out that link I posted earlier in this thread. That is exactly what you were telling him to look for.
__________________
ME Student at Northeastern University, Captain of the NUTRONs #125 FRC

Former member of VEXELLENT and Cranbrook Robotics
Reply With Quote
  #15   Spotlight this post!  
Unread 26-11-2008, 00:27
ManicMechanic ManicMechanic is offline
Registered User
AKA: Yolande
VRC #0438 (Metal Gear)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2003
Location: CA
Posts: 213
ManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond repute
Re: HELP!!! VEX malfunction!!!

Quote:
Originally Posted by GaryVoshol View Post
I seem to recall a thread from about a year ago on this subject. If the robot stalls out under some condition, when it restarts it goes into auto mode. Check for posts from last December or maybe January or February this year.
Is this the thread you're thinking of?
http://www.chiefdelphi.com/forums/sh...ight=batteries
__________________
He is no fool who gives what he cannot keep to gain that which he cannot lose. - Jim Elliot
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
circuit breaker malfunction drosophyllum Electrical 5 26-02-2008 08:11
Vex Programming Help! zafara17 Programming 2 18-06-2006 14:12
Code malfunction after robot reset? jgannon Programming 6 01-03-2006 14:42
Vex Programming help! davelu Programming 4 23-12-2005 22:03


All times are GMT -5. The time now is 04:48.

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