Switching algorithm for robust configuration control of a wheeled vehicle