Modifying autopilot parameters at runtime

I am trying to run meta model on current autopilot of carla. Is there a methodology to modify autopilot speed, min distance etc at runtime?