Text this: Precision motion and energy exchange control on robot’s leg interaction with soft surface