Planning to Perceive: Exploiting Mobility for Robust Object Detection