Simple project, willing to pay $$$ for basic coding - 4 Servos + Ping)))

Inches is indeed a global variable. I would like the speed of all the servo's (roll, pitch, yaw, & boo) to be equally affected by the change in distance (defined in inches).

For example, if I'm 10 inches away from the sensor, I would like the speed of all the servos to be 1 ( servoSpeed[roll]= 1, servoSpeed[yaw]= 1 etc.) If I increase that distance to 20 inches, all the servo's speed would change to 2.

To summarize it:

-All the servos are moving at equal speeds.

-The value for speed is directly proportional to the distance in inches from the sensor.

I hope that answers your question. Thanks for posting!
Mike