Thread: Autonomous Mode
View Single Post
  #6   Spotlight this post!  
Unread 27-01-2007, 17:49
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Autonomous Mode

Your problem may be that you are using PWMs 13-16 but are not generating the PWM signals for those ports.

If you are using Kevin's 2007 code, you must call the PWM(pwm13, pwm14, pwm15, pwm16) function as the very last line, just before the PutData() line.

If you are using IFI's code, you must call Generate_Pwms(pwm13, pwm14, pwm15, pwm16) in that place.

make sure you are using the correct PWM function. I would say for debugging purposes to use PWM's 9-12 or something like that, to make sure that it in fact is not the generated pwms that are the problem.

There could be many other problems as well... unfortunately I can't think of much else without seeing your entire loop in your Autonomous_Routine()
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...