Local body shape control of an articulated mobile robot and an application for recovery from a stuck state. (19th May 2022)