I made a small change to the “Wall Avoidance” example sketch (Wall_Avoidance.ino) to center the ultrasonic range finder servo on start-up. You may also want to make this same change to the “Ultrasonic_Range_Finder.ino” parts sketch.
Old
void setup()
{
}
======================
New
void setup() {
sparki.servo(SERVO_CENTER); // Center the Servo (jjd 20140219)
}
Note: Be sure to hold the flashlight very close to the sensors to have Sparki follow it.