A Data-Driven Approach for Autonomous Motion Planning and Control in Off-Road Driving Scenarios