def convert_control_from_source_to_agent(self, source: carla.VehicleControl) -> VehicleControl:
    'Convert CARLA raw vehicle control to VehicleControl(throttle,steering).'
    return VehicleControl(throttle=(((- 1) * source.throttle) if source.reverse else source.throttle), steering=source.steer)
Convert CARLA raw vehicle control to VehicleControl(throttle,steering).
def convert_control_from_source_to_agent(self, source: carla.VehicleControl) -> VehicleControl:
    
    return VehicleControl(throttle=(((- 1) * source.throttle) if source.reverse else source.throttle), steering=source.steer)