|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
IR code
Ok, so we put the sensors on rc dig in 1, 2, 4, 5 and servos on 1 & 2.
Then the drives on 13 and 15. Uploaded navigate.zip and..........pwm03 fires at 72 whether auton is enabled or not and the servos do not do anything unless you reset and they twitch a little....any help would be appreciated. |
|
#2
|
||||
|
||||
|
Re: IR code
a) navigate.zip is designed just to run, it's not set up to be only running in autonomous mode (you have to do that yourself)
b) if I remember correctly, the IR sensors go on ports 3,4,5, and 6, starting with the left-most and ending with the right-most. |
|
#3
|
|||||
|
|||||
|
Re: IR code
Quote:
Your hook-ups seem to be correct. It needs to be modified to be used in competition. It was talked about here [thread]24631 [/thread] In addition to those instructions you'll also need the navigate.c and navigate.h files, and you'll need to add a call to navigate() to the User_Autonomous_Code() routine in the user_routines_fast.c file. Last edited by Mark McLeod : 24-02-2004 at 21:47. |
|
#4
|
||||
|
||||
|
Re: IR code
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is your most prefered programming language? | Hailfire | Programming | 156 | 19-01-2005 21:42 |
| Interrupt timer, executing code asap? | SeanCassidy | Programming | 10 | 07-03-2004 01:47 |
| Operator Interface code | RiotingNerd | Programming | 5 | 07-02-2004 21:13 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |
| Does your team use the Default code. | Jeff McCune | General Forum | 2 | 09-01-2003 14:46 |