Toward autonomous car driving by a humanoid robot: A sensor-based framework