|
FTC 2012 RobotC IR Sensor Programming and implementation
So as you all very well know we have another IR beacon challenge on our hands. I know there have been teams who have had varying success with the sensor before like team 2818 GForce though a far as I'm aware they use LabVIEW. Have there been any teams using RobotC that have successfully used the IR sensor to guide their robot towards a target.
I have looked over the included driver and test/example files with RobotC and I can't make heads or tails of it really.
I've been told that there is a 30 degree area of detection where the sensor reads a certain value. Which makes me think that it can't be that accurate on its own. Can some teams give some code examples of how your team used the sensor in the past years as well as how you placed it on your robot or if you used 2 sensors in combination.
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
|