Measuring distance traversed or speed

    公开(公告)号:US11719716B1

    公开(公告)日:2023-08-08

    申请号:US17743336

    申请日:2022-05-12

    摘要: In one embodiment, an apparatus includes a first magnetometer that measures a magnetic field. The apparatus includes a second magnetometer that measures the magnetic field. The first and second magnetometer are positioned a predetermined distance apart from each other in a direction. The apparatus includes computer-readable media embodying logic that access a first measurement of the magnetic field by the first magnetometer at a first time and a second measurement of the magnetic field by the second magnetometer at a second time. The logic compares the first measurement with the second measurement and, based at least in part on the comparison, determines that the first measurement approximately coincides with the second measurement. Based at least in part on the coincidence, the logic determines that a device comprising the apparatus has traversed the predetermined distance in the direction that they are positioned apart from each other.