Use an ultrasonic module HC-SR04 distance measuring ranging sensor on your BeagleBone Blue.
Did you ever want to learn something but it seemed impossible b/c of too many articles on the subject or not enough? BBBW!
Bubba is a 3D printed quadrupedal spider robot. It has 8 degrees of freedom and can operate both autonomously and programmatically.