Go to Post P.S. Who doesn't have CD as there homepage! (I mean, come on people. It's not like there's anything else to do on the net... :)) - Ryan M. [more]
Home
Go Back   Chief Delphi > Technical > Programming
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
VEXpro
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
BAE Systems
ADVERTISEMENT

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-12-2008, 12:08 AM
caitlin2437 caitlin2437 is offline
Registered User
FRC #2437 (Lancer Robotics)
Team Role: Leadership
 
Join Date: Nov 2007
Rookie Year: 2007
Location: Hawaii
Posts: 6
caitlin2437 is an unknown quantity at this point
Send a message via Yahoo to caitlin2437
Unhappy EasyC help - robot not following code!

Our team's programmers-in-training are having some difficulties getting our VEX robot to follow EasyC programs. Our biggest problems come when using a program created from a template: it's supposed to have a short half-second initialize before it runs for 20 secs in autonomous, afterwards going to operator control. It seems that the robot is randomly choosing parts of the code to follow, e.g. in one run it might follow the whole code, but in another, as is most often, it will skip straight to operator control. There's nothing wrong with the code--it was working very well one day, and then the next it was once again refusing to run in autonomous. We've tried to download just a simple autonomous code onto the robot--that only works half the time, as well.

Anyone experiencing similar problems, or have any idea of what could be wrong with the robot (specifically, not just that it's probably broken somehow--we already know that) ?
  #2   Spotlight this post!  
Unread 10-12-2008, 07:30 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Itinerant Programmer
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: 6,786
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: EasyC help - robot not following code!

Intermittent reception from the transmitter can cause it to behave erratically.
That could happen when the battery contacts loosening up or the battery needs charging. The battery connector on the transmitter side open up over time and can be closed up again with a small blade screwdriver.
__________________
"Everyone you will ever meet knows something you don't" - Bill Nye
  #3   Spotlight this post!  
Unread 10-12-2008, 11:22 AM
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
AKA: Sunny
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Georgia
Posts: 1,704
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: EasyC help - robot not following code!

Uh...

I'm not too sure why. If you could post some of the code here, that'd help debug your code. But if you're sure that there is not problem with the code

then I would try a different micro-controller.
__________________
1261: 2007-2012
1648: 2013-????
  #4   Spotlight this post!  
Unread 10-12-2008, 06:19 PM
Francis-134's Avatar
Francis-134 Francis-134 is offline
Lifer
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Worcester, MA
Posts: 391
Francis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud ofFrancis-134 has much to be proud of
Send a message via AIM to Francis-134 Send a message via Yahoo to Francis-134
Re: EasyC help - robot not following code!

Are you using one of the provided compeition templates? If so, be sure there are no jumpers in interrupts five or six, as these will cause the robot to switch into either only autonomous or operator. As others have said, check to make sure your radio connection and power are good.

If you post your code, it will be much easier for everyone to help you, because looking in from the outside, it seems like a code error. Just to be sure, redownload the Vex master code.
__________________
A proud alumnus of teams 134 and 40.

Mentor of Team 190.
Director of Fun for BattleCry@WPI
(Yes, that's my official title)

Closed Thread


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
Help Autonomous code not working team550 Programming 5 01-14-2008 09:35 AM
Programming help. EasyC Vex Robot. OneCoolDude Programming 2 12-02-2007 04:54 PM
easyc demo code not working sniggel Programming 5 01-28-2007 03:40 PM
Following the Green Light with robot. Wompas Programming 0 01-26-2007 04:34 PM
Kickoff easyC workshop integrated into EasyC help file Dan Larochelle easyC for FRC 0 01-11-2006 05:12 AM


All times are GMT -5. The time now is 01:52 PM.

The Chief Delphi Forums are sponsored by Innovation First, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School