A Software-in-the-Loop simulator for a lane keeping assist system (LKAS) using V-REP to validate the LKAS controller and the lane detection algorithm.