1. Energy-efficient walking over irregular terrain: a case of hexapod robot