Extending ramp metering control to mixed autonomy traffic flow with varying degrees of automation