Text this: Swing control for a three-link brachiation robot based on sliding-mode control on irregularly distributed bars