A novel mechanism consisting of a separable omniwheel and 4bar linkages, allowing the robot to transform between omniwheeled and legged modes smoothly. In wheeled mode, the robot can move in all directions and efficiently adjust the relative position of its wheels, while it can overcome common obstacles in legged mode, such as stairs and steps.