Did you ever want to try something over and over until it works correctly? Drones!
Use an ultrasonic module HC-SR04 distance measuring ranging sensor on your BeagleBone Blue.
BeagleBone Blue's DC motor drivers can be used to drive bipolar stepper motors too! Pair them up with a little code for open loop control.
This example shows you how to use Simulink Coder™ Support Package for BeagleBone® Blue Hardware to run a Simulink® model
An extensible low-cost open platform for learning embedded control & robotics in multithreaded Linux. Runs ROS, Python, Simulink, LabVIEW.