drivingcontroller Simulation of a Stanley steering controller with trajectory lookahead, using a single track vehicle model. Run bikesim.m Reference trajectory is set at the beginning of bikesim.m. comment out line 5 and uncomment line 4 for a different reference.