View Single Post
  #2   Spotlight this post!  
Unread 18-02-2011, 21:46
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: I hate Autonomous programming! Why is it so sporadic?

Have you checked the calibration on the photoreceptor? We've found them to be quite finicky, especially when you move to a new surface (i.e. some carpets are more reflective than others, and the sensors need retuning).
Try getting the robot up on blocks and letting it run, blocking and unblocking the sensors with your hand.
I don't see anything particularly wrong with your program itself - the error is probably coming from other sources.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote