1. A robot comprising: a local coordinate system deriving portion which derives a local coordinate system having two shafts which are parallel to a work plane and orthogonal to each other, based on an image in which markers illustrating three or more points on the work plane which is not horizontal are captured; and a control parameter obtaining portion which obtains control parameters via the local coordinate system.