Go to Post CD is a forum provided by a group of people. You use it with their permission. Don't like it? Don't use it. - Andrew Schreiber [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-02-2007, 20:34
DotCom's Avatar
DotCom DotCom is offline
Productive Procrastinator
AKA: Christine
FRC #0692 (The Fembots)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Sacramento
Posts: 47
DotCom is on a distinguished road
Help! Autonomous isn't working...

Hey! We're having a bit of trouble getting the autonomous to work. We changed a part of the code in the main.c file in order to get the autonomous mode to turn on when we press the p1_sw_trig (for testing purposes), but it's not working. Here's what we changed:

Code:
      if (autonomous_mode||p1_sw_trig)          /* DO NOT CHANGE! */
      {
        User_Autonomous_Code();        /* You edit this in user_routines_fast.c */
      }
We also changed the while loop in the user_routines_fast.c file to work with the trigger:

Code:
while (autonomous_mode||p1_sw_trig)
  { 
execute autonomous code...
  }
We got it to work last year, but apparently it's not working in this code. I get the feeling we're missing something fundamental...

Any ideas? =]
__________________

Team 692's Website
 


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
Camera not working in autonomous Roger Programming 9 09-03-2006 07:38
Camera isn't working Idaman323 Programming 13 15-02-2006 23:18
Gyro not working in Autonomous? kaszeta Programming 7 11-02-2006 01:28
Arrggg Css postitioning isn't working in mozilla Adam Y. Website Design/Showcase 2 23-02-2003 16:38
PERL isn't working... Joe Ross CD Forum Support 1 19-06-2001 10:14


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

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