Curiosity-driven learning for physically grounded autonomous agents