Energy-based control of the Butterfly robot