|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#12
|
|||||
|
|||||
|
Re: Autonomous Mode
Do i understand correctly that you started with Kevin Watson's "bells and whistles" 2.1 code?
Used as is there seem to be conflicting calls to set PWMs 13,14,15,16 mixing a new method Kevin's introduced with an older unreliable method. Just an oversight. In User_Autonomous() replace: Code:
Generate_Pwms(pwm13,pwm14,pwm15,pwm16); Code:
PWM(pwm13,pwm14,pwm15,pwm16); There is also some extra code you should probably comment out in Default_Routine() just before pwms13,14,15,16 are set: Code:
p1_x = 255 - p1_y; p1_y = 255 - pwm05; You might also try testing your output on pwms other than 13-16. P.S. Remember you have to copy the camera calls from user_routines.c into your autonomous routine to keep the camera running during autonomous. Last edited by Mark McLeod : 29-01-2007 at 08:26. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous Mode | tysonwormus | Rumor Mill | 11 | 08-01-2004 22:59 |
| Autonomous mode | AntmanIV | General Forum | 1 | 17-02-2003 13:30 |
| autonomous mode | Stephanie | Programming | 2 | 25-01-2003 19:57 |
| Autonomous Mode | David Bryan | Programming | 1 | 21-01-2003 21:15 |
| autonomous mode? | bigwalt | Technical Discussion | 1 | 21-01-2003 01:14 |