Predictive control for agile semi-autonomous ground vehicles using motion primitives | Synapse