Thread: I/R trouble!!!
View Single Post
  #4   Spotlight this post!  
Unread 09-02-2004, 16:56
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
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