Go to Post A good robot with great strategy beats a great robot with good strategy. - Brian Maher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-03-2011, 15:39
Itamar's Avatar
Itamar Itamar is offline
Registered User
FRC #1943 (NeatTeam) & FRC #4590 (GreenBlitz)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Israel
Posts: 83
Itamar is an unknown quantity at this point
Weirdest problem in autonomous mode.

Hey, I wanna share a problem I had a few days ago, at the Israeli reigonals. When we tested the robot's autonomous code, before sending it, it worked fine, although I tested it only when debugging. When we got to the competition I discovered a very weird problem. It took me a long to figure what's wrong, but basically this is it: When the code comes across the first "Arcade Drive" vi, but only on first run, on autonomous period, and if the code is not debugging: it stop the code (and the robot) untill the timer on the DS reaches 20 seconds. when it reaches 20 seconds, the code goes on as if nothing happend. Unfortunatly, I understood this only near the end of the competition, so we didn't a working autonomous code most of the competition. To fix this, I unbundled the drive object to a four motors array and used the "Set Motor Value" vi for each of them every time I wanted to run the motors (it was only forward and backwards).

Does anyone have any ideas why something like this could happen?
Reply With Quote
 


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


All times are GMT -5. The time now is 09:29.

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