Robotic Motion Planning in Uncertain Environments via Active Sensing