|
Re: I/R trouble!!!
Create a new directory extract navigate.zip. Open the navigate.mcw.
It's not recommended for novice users. There's quite a bit of tweaking to get it to work. From what I recall, Rich Petras' code turns the robot until a sensor can be seen then adjusts the sensors to start Kevin Watson's tracking code. It might be easier to start from just the tracking code. Also I would recommend looking how how they wired their receivers on the servos. Also, the receivers for the infra-red are interrupt based and the interrupts can be found in user_routines_fast.c I believe and Kevin calls functions outside in his own custom files that are new to the FRC code.
Servo 1
|-----------
| x
|-----------
|-----------
| x
|-----------
Where x is the sensor.
Thanks,
Ryan Waliany
__________________
R
|