PD of PID in a balancing robot

BTW: there is a dedicated Robotics thread http://arduino.cc/forum/index.php/board,14.0.html , discussing "balancing robot" similar to yours (1 ft high, two wheels) http://arduino.cc/forum/index.php/topic,60170.0.html