Certainty Equivalent Perception-Based Control