 This is done by a gimbal system, accelerometers, spinning-mass gyros (or MEMS), and motors to drive changes in position of the platform.The system is basically an autopilot.Information from the gyros is fed to the guidance electronics which drive a torque motor attached to the seeker platform to keep the seeker aligned with the target.