Go to Post I like what FIRST said about it best: They consider it part of the "Game Challenge" - Alavinus [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 13-02-2008, 20:13
Guarana Guarana is offline
Registered User
FRC #1706
 
Join Date: Jan 2008
Location: Wentzville, Missouri
Posts: 16
Guarana is an unknown quantity at this point
New Code - No Movement

So I was using the Default Code from IFI and it worked perfect. I needed a gyro programmed, so I was adding kevin's gyro and adc files. After having some trouble, I found his code that was completely implemented already. I downloaded that, transfered the mecanum programming to the ifi_code.c file in Default_Routine(). The problem is, the wheels will not spin at all. The victors do not get any value sent to them. I commented out all the mecanum code and just assigned the pwm's to the value '1' and still nothing spins. I tried my old code and it will spin, kevin's code just will not work.

I am using MPLAB IDE 8.0 and C18 3.1 if that makes a difference. Help.

Thanks
  #2   Spotlight this post!  
Unread 13-02-2008, 20:17
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: New Code - No Movement

Try adding your code to void teleop (void) in teleop.c. That should fix the problem. If not, post the code.
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
Movement Hunter1539 Rules/Strategy 4 09-01-2008 22:06
Where to insert new code? katkana Programming 5 19-02-2005 13:47
New Default Code nukem Programming 2 12-01-2005 17:45
Strange IR sensor movement with default tracker code wun Programming 5 19-03-2004 10:51
New Code Simulator Available? authgeek1218 Programming 1 03-12-2003 13:18


All times are GMT -5. The time now is 00:56.

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