Thread: IR code
View Single Post
  #3   Spotlight this post!  
Unread 24-02-2004, 21:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: IR code

Quote:
Originally Posted by Gusman1188
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.
If you are using navigate.c as-is then it's waiting for you to hit one of the joystick buttons (p1 trigger).

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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-02-2004 at 21:47.