Go to Post Mentors are here to guide and explain not to decide and do. - Fe_Will [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-10-2008, 01:08
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 12-10-2008, 08:30
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,906
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 12-10-2008, 12:22
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
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-2014
5283: 2015
  #4   Spotlight this post!  
Unread 12-10-2008, 19:19
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: 604
Francis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond reputeFrancis-134 has a reputation beyond repute
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.
__________________

Email | Twitter | Facebook | YouTube | Twitch
iTunes Podcast | Snapchat

A proud alumnus of teams 134 and 40 || Mentor of Team 190 || Director of Fun for BattleCry@WPI
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 14-01-2008 10:35
Programming help. EasyC Vex Robot. OneCoolDude Programming 2 02-12-2007 17:54
easyc demo code not working sniggel Programming 5 28-01-2007 16:40
Following the Green Light with robot. Wompas Programming 0 26-01-2007 17:34
Kickoff easyC workshop integrated into EasyC help file Dan Larochelle Programming 0 11-01-2006 06:12


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

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