1. A robot comprising: plurality of arms connected via a joint; a motor that is configured to move the joint so that one of the plurality of arms moves relative to another of the plurality of arms; a plurality of markers that are located on the work plane; a work plane defining an extending plane, the extending plane from the work plane being along a non-horizontal plane; a camera that is configured to capture a first image including the markers when a positional relationship between the markers and the camera is in a first state, the camera being disposed on one of the plurality of arms; a memory that is configured to store computer-readable instructions; and a processor that is configured to execute the computer-readable instructions so as to: obtain a local coordinate system based on positions of at least three of the markers in the first image, the local coordinate system having a first axis and a second axis perpendicular to each other, the first and second axes being parallel to the work plane; obtain a control parameter via the local coordinate system; move one of the plurality of arms so that the positional relationship between the markers and the camera is in a second state that is different from the first state; cause the camera to capture a second image including the markers when the positional relationship between the markers and the camera is in the second state; and perform calibration of the local coordinate system by comparing the first and second images with respect position differences of the markers, wherein the work plane and an optical axis of the camera are perpendicular to each other when the camera captures the first and second images.