 This problem may be overcome by use of a fourth gimbal, actively driven by a motor so as to maintain a large angle between roll and yaw gimbal axes.Another solution is to rotate one or more of the gimbals to an arbitrary position when gimbal lock is detected and thus reset the device.Modern practice is to avoid the use of gimbals entirely.