Automation Of Vehicular Systems Using Deep Reinforcement Learning And Mean-Field Models: Application To Heavy Duty Trucks