https://www.robotsforroboticists.com/proper-e-stops-m-stops/
E-stop and M-stops