Lateral and Longitudinal Control of an Autonomous Car: CARLA simulation