An Attitude and Heading Reference System (AHRS) is a three-axis sensor system that provides real-time three-dimensional attitude positions and heading AHRSs use solid-state or Micro-Electromechanical Systems (MEMSs)  gyroscopes  accelerometers  magnetometers  and a built-in digital signal processor to obtain attitude and heading reference information