Shape-altering robots perceive surroundings, make decisions for fir...