A rotating device 9 is for rotating a vertically long drivable element 90
about specified two axes (rotation axis A, rotation axis B) and is
provided with a first and a second actuators 91A, 91B for giving torques
to the drivable element 90, a pivot bearing portion 92 as a rotation
supporting point of the drivable element 90, a first and a second
position detecting sensors 93A, 93B for detecting the rotational posture
of the drivable element 90, and a posture controller 94. Detecting
portions 905A, 905B of the first and second position detecting sensors
93A, 93B are arranged on a straight line L1 connecting acting portions
904A, 904B of the first and second actuators 91A, 91B and near the acting
portions 904A, 904B. The position of the drivable element can be detected
by a simple construction and the drivable element can be quickly returned
to an original position.