|
Re: What sensor to use?
Photosensors only detect changes in the reflected color they see, an arrangement of 3 is what allowed you to track a line. A single photosensor can detect when a ball passes by it.
As for a rangefinder, you would want to look into a ultrasonic sensor, most have either instructions on how to determine the actual range or the code used to initialize it will get it for you.
Anything using a laser (other than class I lasers) are specifically restricted by rule R08. (Don't forget to read the blue box!)
__________________
Team Resume
562 "S.P.A.R.K." - Student Programmer 2008-2011, Field Coach 2011
3623 "Terror Bots" - Technical Mentor, Field Coach 2012 - Present
Volunteer Resume:
BattleCry@WPI 12, 13, 15, 16 - Queuing
BattleCry@WPI 14 - Field Reset
Granite State District Event 2014 - Team Queueing
NEFIRST District Championships '14,'15,'16 - Team Queuing
|