How to connect a Hobby ESC (speed control) to raspberry Pi – drive a 12v DC motor bi-directionally

This is a cheap off-the-shelf Electronic Speed Control rated at 320A (is it legitimate?) commonly used for RC cars. In this video I made Python code that allows our raspberry pi (or beaglebone) to drive the motors and we use a gamepad for user inputs. Example ESC around $15 at Amazon: https://amzn.to/3aMgSot Example ESC around $18 at Walmart: https://bit.ly/3a4cXUX SCUTTLE Robot Project documentation: https://mxet.github.io/SCUTTLE