Now that you have your basic motor controller functionality up and running, you need to connect both motor controllers to the BeagleBone black. In this section, we will cover this and then show you how to control your entire platform programmatically.
Before you get started connecting everything and making it all move, let's spend some time understanding some of the basics of motor control. Whether you chose the two-wheeled mobile platform or the tracked platform, the basic movement control is the same. The unit moves by engaging the motors. If the desired direction is straight, the motors are run at the same speed. If you want to turn the unit, the motors are run at different speeds. The unit can actually turn in a circle if you run one motor forward and one backward.
DC motors are fairly straightforward...