A study on continuous follow-the-leader (FTL) gaits: an effective walking algorithm over rough terrain