Shared Control for the Kinematic and Dynamic Models of a Mobile Robot