Abstract: A rotating device for rotating an apparatus arranged at the outer end of a boom, which boom has a longitudinal axis, the rotating device comprising a first torque motor unit arranged to rotate the apparatus substantially around an axis in the direction of the longitudinal axis of the boom, and a second torque motor unit arranged to rotate the apparatus around an axis that is at an angular position relative to the longitudinal axis of the boom, whereby the first and the second torque motor unit are arranged side by side relative to each other when seen in the direction of the longitudinal axis of the boom. The torque motor units are arranged in a body part common to both torque motor units.