Quote:
|
Originally Posted by Cadetdan
I was wondering does the code that comes with the robot controler reguarding the I/R sensors work without any mods to the code? Because our robot controler will not alow us to download the orginal code........it gives us an error, its almost like the codes are fighting each other. Then when we mod the code and download it to the bot the sensors do not track the I/R becon we made. Im kinda stumped......any Ideas as to what might be wrong? Thanks
Dan B
Team 940
|
The default code for the FRC doesn't do anything with the IR sensors.
The code that uses the IR sensors can be found at Kevin Watson's site
http://kevin.org/frc/
You probably want navigate.zip. That's what was used at the FIRST Kickoff to demonstrate driving a robot using the IR system, and it can be used almost as is. (You will need to tweak parameters to get it to work with your drive system.)
The code in the robot controller doesn't affect downloading new code.
What kind of mod did you do to the code to get it to download?