The Impact Of Event-Triggered Control On The Energy Consumption Of A Legged Robot