A Linear Algorithm for Tracing Magnet Position and Orientation by Using Three-Axis Magnetic Sensors | Synapse