To provide a positional relationship acquiring apparatus that can acquire the positional relationship between a plurality of rotation shafts that are driven by a plurality of motors, without a user manually performing setting or the like.;A positional relationship acquiring apparatus includes: a motor control unit that controls a plurality of motors of a robot that has a plurality of rotation shafts that are respectively driven by the plurality of motors; a receiving unit that receives angular velocities that have been acquired by a plurality of angular velocity sensors that are respectively provided for the plurality of rotation shafts; and a positional relationship acquiring unit that acquires a positional relationship between the plurality of rotation shafts, using the angular velocities acquired by the plurality of angular velocity sensors and received by the receiving unit when the plurality of rotation shafts have been rotated by the motor control unit one by one.
展开▼