Go to Post Actually, please don't put any limits on your ideas or creativity at this point. Brainstorm, innovate, and contemplate whatever ideas you might like to consider. - dlavery [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 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
  #2   Spotlight this post!  
Unread 09-02-2007, 21:09
DustinB_3 DustinB_3 is offline
Registered User
FRC #0935 (Railerobotics)
Team Role: Leadership
 
Join Date: Nov 2005
Rookie Year: 2001
Location: Newton, Kansas
Posts: 78
DustinB_3 is an unknown quantity at this point
Re: Help! Autonomous isn't working...

I would suggest building a dongle. Instructions can be found here.
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
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:11.

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