Library for moving a robot