Go to Post No Firsting way! - Tytus Gerrish [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 02-17-2006, 08:11 PM
colman77
 
Posts: n/a
even simple autonomous code doesn't work??

OK so autonomous mode doesn't seem to have control of the robot...
We are putting our robot into autonomous mode by setting the tean number to 0 on the OI, yanking out the tether cable, and resetting.
We know that it's running the autonomous function in user_routines_fast.c, because we can put a printf in there and it'll print.

However.

If we put ANY statement controlling the pwm's-- no matter how simple-- our victors refuse to do anything but blink orange.
Even if we put
pwm01 = pwm02 = pwm03 = pwm04 = 255;
LIGHTS DON'T CHANGE... and if we hook a fan up to any of them, it doesn't spin.

Any ideas? The lights on the victors DO change when you're in autonomous, right?

Last edited by colman77 : 02-17-2006 at 08:26 PM.
 


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
Example gyro code released. Kevin Watson Programming 60 03-17-2005 06:32 PM
Where to insert code Autonomous mode caderader Programming 5 02-18-2005 04:49 PM
a simple autonomous mode question chippermonky Programming 3 02-18-2005 01:54 AM
Updated: Serial Port Driver Code Kevin Watson Programming 4 02-05-2005 06:39 PM
Sourceforge for Code Repository and other stuff SilverStar Programming 9 01-15-2005 09:16 PM


All times are GMT -5. The time now is 10:43 AM.

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